From db16c0332cf806f22ca155755dcf50bd2b7542dc Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 30 Jan 2009 00:31:15 +0100 Subject: [PATCH] sbc: Fix signed/unsigned comparison issue within GStreamer plugin --- ext/sbc/gstsbcenc.h | 2 +- ext/sbc/gstsbcutil.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/sbc/gstsbcenc.h b/ext/sbc/gstsbcenc.h index d84dace86e..6d69922ae8 100644 --- a/ext/sbc/gstsbcenc.h +++ b/ext/sbc/gstsbcenc.h @@ -57,7 +57,7 @@ struct _GstSbcEnc { gint subbands; gint bitpool; - gint codesize; + guint codesize; gint frame_length; gint frame_duration; diff --git a/ext/sbc/gstsbcutil.c b/ext/sbc/gstsbcutil.c index 53f0feacb9..0ae46885c5 100644 --- a/ext/sbc/gstsbcutil.c +++ b/ext/sbc/gstsbcutil.c @@ -98,7 +98,7 @@ gst_sbc_get_allocation_from_list (const GValue * value) const gchar * gst_sbc_get_mode_from_list (const GValue * list, gint channels) { - int i; + unsigned int i; const GValue *value; const gchar *aux; gboolean joint, stereo, dual, mono;