commit | c2545cbb6d9a87e3e0bce167eabcb8f3c9153edc | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Mon Aug 22 11:44:18 2016 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Oct 12 13:22:57 2016 +0200 |
tree | 1b1543955c370a72317dce14832995cbb7b849fb | |
parent | c1d1f7121194036608bf555f08d3062a36fd344b [diff] [blame] |
Fix format string warnings Also fixes bug #768199: https://bugzilla.gnome.org/show_bug.cgi?id=768199
diff --git a/runtest.c b/runtest.c index 1861577..b2ce693 100644 --- a/runtest.c +++ b/runtest.c
@@ -688,7 +688,7 @@ } if (info.st_size != size) { fprintf(stderr, "file %s is %ld bytes, result is %d bytes\n", - filename, info.st_size, size); + filename, (long) info.st_size, size); return(-1); } fd = open(filename, RD_FLAGS);