Index: ext/soup/gstsouphttpsrc.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ext/soup/gstsouphttpsrc.c,v
retrieving revision 1.12
diff -u -p -r1.12 gstsouphttpsrc.c
--- ext/soup/gstsouphttpsrc.c	31 Jan 2008 09:50:31 -0000	1.12
+++ ext/soup/gstsouphttpsrc.c	6 Feb 2008 09:18:41 -0000
@@ -677,7 +677,7 @@ gst_soup_http_src_got_chunk_cb (SoupMess
   basesrc = GST_BASE_SRC_CAST (src);
   data = chunk->data;
   length = chunk->length;
-  GST_DEBUG_OBJECT (src, "got chunk of %d bytes", length);
+  GST_DEBUG_OBJECT (src, "got chunk of %" G_GSIZE_FORMAT " bytes", length);
 
   /* Create the buffer. */
   src->ret = gst_pad_alloc_buffer (GST_BASE_SRC_PAD (basesrc),
@@ -807,7 +807,7 @@ gst_soup_http_src_create (GstPushSrc * p
     g_signal_connect (src->msg, "got_chunk",
         G_CALLBACK (gst_soup_http_src_got_chunk_cb), src);
     soup_message_set_flags (src->msg, SOUP_MESSAGE_OVERWRITE_CHUNKS |
-        src->automatic_redirect ? 0 : SOUP_MESSAGE_NO_REDIRECT);
+        (src->automatic_redirect ? 0 : SOUP_MESSAGE_NO_REDIRECT));
     gst_soup_http_src_add_range_header (src, src->request_position);
   }
 
