diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-01-22 08:28:37 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-01-22 08:28:37 +0200 |
commit | 2949f4b38cc7ecc14dfca32cbb719e43e95aa940 (patch) | |
tree | 508bd5d743740995c6f8485f9eb0f34461126610 /regex_internal.h | |
parent | daefaecbf36490f1c60b4030a489a157404fb8b3 (diff) | |
download | egawk-2949f4b38cc7ecc14dfca32cbb719e43e95aa940.tar.gz egawk-2949f4b38cc7ecc14dfca32cbb719e43e95aa940.tar.bz2 egawk-2949f4b38cc7ecc14dfca32cbb719e43e95aa940.zip |
Fix some Linux Mint compilation warnings and braino errors.
Diffstat (limited to 'regex_internal.h')
-rw-r--r-- | regex_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |