Fix warning on 64-bit architectures. (sizeof() returns size_t, which is not int)
authorDavid Schleef <ds@schleef.org>
Wed, 23 Jul 2003 22:47:19 +0000 (22:47 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 23 Jul 2003 22:47:19 +0000 (22:47 +0000)
Original commit message from CVS:
Fix warning on 64-bit architectures.  (sizeof() returns size_t, which
is not int)

ext/ladspa/gstladspa.c

index a58358b..460bdf1 100644 (file)
@@ -848,8 +848,8 @@ gst_ladspa_chain (GstPad *pad, GstBuffer *buffer_in)
 
   if (numsrcpads) {
     for (i=0; i<numsrcpads; i++) {
-      DEBUG_OBJ (ladspa, "pushing buffer (%p, length %d) on src pad %d",
-                 buffers_out[i], GST_BUFFER_SIZE (buffers_out[i])/sizeof(float), i);
+      DEBUG_OBJ (ladspa, "pushing buffer (%p, length %u bytes) on src pad %d",
+                 buffers_out[i], GST_BUFFER_SIZE (buffers_out[i]), i);
       gst_pad_push (ladspa->srcpads[i], buffers_out[i]);
     }