[gst-cvs] gst-plugins-good: id3: cast pointer math results to glong

Stefan Kost ensonic at kemper.freedesktop.org
Fri Oct 9 04:46:59 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: 53cb3e27162ad06f725f5dfce73507e7d03cebb1
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=53cb3e27162ad06f725f5dfce73507e7d03cebb1

Author: Stefan Kost <ensonic at users.sf.net>
Date:   Fri Oct  9 14:44:02 2009 +0300

id3: cast pointer math results to glong

---

 gst/id3demux/id3tags.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gst/id3demux/id3tags.c b/gst/id3demux/id3tags.c
index ecac818..c7c1a11 100644
--- a/gst/id3demux/id3tags.c
+++ b/gst/id3demux/id3tags.c
@@ -469,11 +469,11 @@ id3demux_id3v2_frames_to_tag_list (ID3TagsWorking * work, guint size)
 
 #if 1
     GST_LOG
-        ("Frame @ %u (0x%02x) id %s size %u, next=%u (0x%02x) obsolete=%d",
-        work->hdr.frame_data - start,
-        work->hdr.frame_data - start, frame_id, frame_size,
-        work->hdr.frame_data + frame_hdr_size + frame_size - start,
-        work->hdr.frame_data + frame_hdr_size + frame_size - start,
+        ("Frame @ %ld (0x%02x) id %s size %ld, next=%ld (0x%02x) obsolete=%d",
+        (glong) (work->hdr.frame_data - start),
+        (glong) (work->hdr.frame_data - start), frame_id, frame_size,
+        (glong) (work->hdr.frame_data + frame_hdr_size + frame_size - start),
+        (glong) (work->hdr.frame_data + frame_hdr_size + frame_size - start),
         obsolete_id);
 #define flag_string(flag,str) \
         ((frame_flags & (flag)) ? (str) : "")





More information about the Gstreamer-commits mailing list