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;