aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-01-15 11:50:16 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-01-15 11:50:16 +0000
commitee0405c689cc8ca44522ed5dd3750cdc0c6e4ce4 (patch)
treedce7d671c0b681460d5428d0126b90792ea1214d /main.c
parentAdd overflow detection (diff)
downloadw3m-ee0405c689cc8ca44522ed5dd3750cdc0c6e4ce4.tar.gz
w3m-ee0405c689cc8ca44522ed5dd3750cdc0c6e4ce4.zip
Drop C99 features
Diffstat (limited to '')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index cb15c9f..d37b243 100644
--- a/main.c
+++ b/main.c
@@ -386,7 +386,7 @@ make_optional_header_string(char *s)
static void *
die_oom(size_t bytes)
{
- fprintf(stderr, "Out of memory: %zu bytes unavailable!\n", bytes);
+ fprintf(stderr, "Out of memory: %lu bytes unavailable!\n", (unsigned long)bytes);
exit(1);
}