summaryrefslogtreecommitdiffabout
path: root/src/binlogcat.c
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-15 17:36:11 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-10-15 17:36:11 (GMT)
commit2afd00cc2bdbaa401edc7117965b3db658576719 (patch) (side-by-side diff)
tree8cfa0a8bc1059ebef7babde9466fe146abe2ee94 /src/binlogcat.c
parent7d0beb6599c53544739409ca4aec104bf27a3f35 (diff)
downloadvmod-binlog-2afd00cc2bdbaa401edc7117965b3db658576719.tar.gz
vmod-binlog-2afd00cc2bdbaa401edc7117965b3db658576719.tar.bz2
Fix compiler warnings.
Diffstat (limited to 'src/binlogcat.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/binlogcat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/binlogcat.c b/src/binlogcat.c
index ada8efe..6ab3daf 100644
--- a/src/binlogcat.c
+++ b/src/binlogcat.c
@@ -86,7 +86,8 @@ catlog(const char *fname)
if (verbose_option)
printf("# %s; format=%s; recsize=%lu; recnum=%lu\n",
- fname, dataspec, header.recsize, header.recnum);
+ fname, dataspec, (unsigned long) header.recsize,
+ (unsigned long) header.recnum);
inst = packcomp(dataspec, &p);
if (!inst) {

Return to:

Send suggestions and report system problems to the System administrator.