summaryrefslogtreecommitdiffstats
path: root/ext/jpeg
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-09-09 16:11:48 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-09-09 16:11:48 +0000
commite30601f40007a52d93879efc9143b0d97086a550 (patch)
tree953c112b5cf46929cb1c473d05760038c9d30961 /ext/jpeg
parentdf82aa5a0178395d26dea66a4850e55144c74e9d (diff)
fix compiler warnings
Original commit message from CVS: fix compiler warnings
Diffstat (limited to 'ext/jpeg')
-rw-r--r--ext/jpeg/gstsmokeenc.c3
-rw-r--r--ext/jpeg/smokecodec.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/jpeg/gstsmokeenc.c b/ext/jpeg/gstsmokeenc.c
index 7ec75010..06c02a82 100644
--- a/ext/jpeg/gstsmokeenc.c
+++ b/ext/jpeg/gstsmokeenc.c
@@ -293,7 +293,8 @@ gst_smokeenc_chain (GstPad * pad, GstBuffer * buf)
GstSmokeEnc *smokeenc;
guchar *data, *outdata;
gulong size;
- gint outsize, encsize;
+ gint outsize;
+ guint encsize;
GstBuffer *outbuf;
SmokeCodecFlags flags;
diff --git a/ext/jpeg/smokecodec.c b/ext/jpeg/smokecodec.c
index fb2dbe6e..930aa412 100644
--- a/ext/jpeg/smokecodec.c
+++ b/ext/jpeg/smokecodec.c
@@ -279,7 +279,7 @@ smokecodec_get_bitrate (SmokeCodecInfo * info, unsigned int *bitrate)
}
static void
-find_best_size (int blocks, int *width, int *height)
+find_best_size (int blocks, unsigned int *width, unsigned int *height)
{
int sqchng;
int w, h;