summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-07-23 22:47:19 +0000
committerDavid Schleef <ds@schleef.org>2003-07-23 22:47:19 +0000
commita287b1e4420e0d89ca83e1343acbbae74c8aea9b (patch)
tree66e645dc7caa0fd54134006c6b1f23a4e6701e01
parent1778cae1a7926e8f45bbffa1c312ab454320c1f3 (diff)
downloadgst-plugins-bad-a287b1e4420e0d89ca83e1343acbbae74c8aea9b.tar.gz
gst-plugins-bad-a287b1e4420e0d89ca83e1343acbbae74c8aea9b.tar.bz2
gst-plugins-bad-a287b1e4420e0d89ca83e1343acbbae74c8aea9b.zip
Fix warning on 64-bit architectures. (sizeof() returns size_t, which is not int)
Original commit message from CVS: Fix warning on 64-bit architectures. (sizeof() returns size_t, which is not int)
-rw-r--r--ext/ladspa/gstladspa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c
index a58358ba..460bdf12 100644
--- a/ext/ladspa/gstladspa.c
+++ b/ext/ladspa/gstladspa.c
@@ -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]);
}