diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-16 17:25:42 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-16 17:25:42 +0300 |
commit | f13dbca68d16b6598066a8d4bf401fd3e1f58bff (patch) | |
tree | e2ef16570773ae61382de30fc5e1e9eb533682e9 /regex_internal.h | |
parent | 5d781d9d27f2ab30679853317df3f5e9ad94be80 (diff) | |
download | egawk-f13dbca68d16b6598066a8d4bf401fd3e1f58bff.tar.gz egawk-f13dbca68d16b6598066a8d4bf401fd3e1f58bff.tar.bz2 egawk-f13dbca68d16b6598066a8d4bf401fd3e1f58bff.zip |
Fix printf format in regex malloc wrappers.
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 6a870f23..327bd7e0 100644 --- a/regex_internal.h +++ b/regex_internal.h @@ -479,7 +479,7 @@ static void * test_malloc(size_t count, const char *file, size_t line) { if (count == 0) { - fprintf(stderr, "%s:%d: allocation of zero bytes\n", + fprintf(stderr, "%s:%lu: allocation of zero bytes\n", file, line); exit(1); } @@ -490,7 +490,7 @@ static void * test_realloc(void *p, size_t count, const char *file, size_t line) { if (count == 0) { - fprintf(stderr, "%s:%d: reallocation of zero bytes\n", + fprintf(stderr, "%s:%lu: reallocation of zero bytes\n", file, line); exit(1); } |