summaryrefslogtreecommitdiff
path: root/gst/gsttrace.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-02-01 20:29:27 +0000
committerDavid Schleef <ds@schleef.org>2003-02-01 20:29:27 +0000
commit393033c6fa7f0a2927a39e44cdbec9997bb9cdad (patch)
treebba032ddd616083ce6f5af5fe7735b922931297c /gst/gsttrace.c
parent2c4d0a7e60c2541d20ea355fa7d5881e62ef40cd (diff)
downloadgstreamer-393033c6fa7f0a2927a39e44cdbec9997bb9cdad.tar.gz
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Original commit message from CVS: Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Diffstat (limited to 'gst/gsttrace.c')
-rw-r--r--gst/gsttrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gsttrace.c b/gst/gsttrace.c
index dfa2454fe6..f0fac78bf7 100644
--- a/gst/gsttrace.c
+++ b/gst/gsttrace.c
@@ -118,7 +118,7 @@ gst_trace_text_flush (GstTrace * trace)
}
for (i = 0; i < trace->bufoffset; i++) {
- snprintf (str, strsize, "%20lld %10d %10d %s\n",
+ snprintf (str, strsize, "%20" G_GINT64_FORMAT " %10d %10d %s\n",
trace->buf[i].timestamp,
trace->buf[i].sequence, trace->buf[i].data, trace->buf[i].message);
write (trace->fd, str, strlen (str));