[farsight2/master] fstransmitter: uint can't be < 0

Olivier Crête olivier.crete at collabora.co.uk
Fri Nov 6 10:47:05 PST 2009


---
 gst-libs/gst/farsight/fs-transmitter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-transmitter.c b/gst-libs/gst/farsight/fs-transmitter.c
index 12e5d51..5c51e58 100644
--- a/gst-libs/gst/farsight/fs-transmitter.c
+++ b/gst-libs/gst/farsight/fs-transmitter.c
@@ -302,7 +302,7 @@ fs_transmitter_new (const gchar *type,
   FsTransmitter *self = NULL;
 
   g_return_val_if_fail (type != NULL, NULL);
-  g_return_val_if_fail (tos >= 0 && tos <= 255, NULL);
+  g_return_val_if_fail (tos <= 255, NULL);
 
   self = FS_TRANSMITTER (fs_plugin_create (type, "transmitter", error,
           "components", components,
-- 
1.5.6.5




More information about the farsight-commits mailing list