summaryrefslogtreecommitdiff
path: root/gst/gstregistrybinary.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-01-25 10:14:09 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-01-25 10:14:09 +0000
commit00a8f6ac84924943c5162c248806d8edededc914 (patch)
treed9605f4b3b05ca2c2c4c65398924492c81ac16d7 /gst/gstregistrybinary.c
parenta212adfb2c29f9532016de5d62a3c489de6cfab1 (diff)
gst/gstregistrybinary.c: In print statements, "%x" is for guint. Fixes build on macosx.
Original commit message from CVS: * gst/gstregistrybinary.c: (gst_registry_binary_read_cache): In print statements, "%x" is for guint. Fixes build on macosx.
Diffstat (limited to 'gst/gstregistrybinary.c')
-rw-r--r--gst/gstregistrybinary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c
index d8a9a7155..854425794 100644
--- a/gst/gstregistrybinary.c
+++ b/gst/gstregistrybinary.c
@@ -785,7 +785,8 @@ gst_registry_binary_read_cache (GstRegistry * registry, const char *location)
((size_t) in + sizeof (GstBinaryPluginElement)) <
(size_t) contents + size;) {
GST_INFO ("reading binary registry %ld(%x)/%ld",
- (size_t) in - (size_t) contents, (size_t) in - (size_t) contents, size);
+ (size_t) in - (size_t) contents,
+ (guint) ((size_t) in - (size_t) contents), size);
if (!gst_registry_binary_load_plugin (registry, &in)) {
GST_ERROR ("Problem while reading binary registry");
return FALSE;