summaryrefslogtreecommitdiffstats
path: root/sys/ximage
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-01-25 10:36:35 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-01-25 10:36:35 +0000
commitd7666d033cd698b70fc7d96f94e1e24bbee4fda6 (patch)
tree6194eb91d3cb359171d1a5cc84ef64872d5b0046 /sys/ximage
parent85420195b22b54f306833be2d4ba66fd2ff6b6e8 (diff)
Use G_GSIZE_FORMAT in print statements for portability.
Original commit message from CVS: * gst/multipart/multipartmux.c: (gst_multipart_mux_collected): * sys/ximage/ximageutil.c: (ximageutil_check_xshm_calls): Use G_GSIZE_FORMAT in print statements for portability. Fixes build on macosx.
Diffstat (limited to 'sys/ximage')
-rw-r--r--sys/ximage/ximageutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ximage/ximageutil.c b/sys/ximage/ximageutil.c
index 8e36bb68..d340ac99 100644
--- a/sys/ximage/ximageutil.c
+++ b/sys/ximage/ximageutil.c
@@ -78,7 +78,8 @@ ximageutil_check_xshm_calls (GstXContext * xcontext)
SHMInfo.shmid = shmget (IPC_PRIVATE, size, IPC_CREAT | 0777);
if (SHMInfo.shmid == -1) {
- GST_WARNING ("could not get shared memory of %d bytes", size);
+ GST_WARNING ("could not get shared memory of %" G_GSIZE_FORMAT " bytes",
+ size);
goto beach;
}