From 2949f4b38cc7ecc14dfca32cbb719e43e95aa940 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 22 Jan 2016 08:28:37 +0200 Subject: Fix some Linux Mint compilation warnings and braino errors. --- regex_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regex_internal.h') diff --git a/regex_internal.h b/regex_internal.h index ff26be7b..28b4239e 100644 --- a/regex_internal.h +++ b/regex_internal.h @@ -471,7 +471,7 @@ test_malloc(size_t count, const char *file, size_t line) { if (count == 0) { fprintf(stderr, "%s:%lu: allocation of zero bytes\n", - file, line); + file, (unsigned long) line); exit(1); } return malloc(count); @@ -482,7 +482,7 @@ test_realloc(void *p, size_t count, const char *file, size_t line) { if (count == 0) { fprintf(stderr, "%s:%lu: reallocation of zero bytes\n", - file, line); + file, (unsigned long) line); exit(1); } return realloc(p, count); -- cgit v1.2.3