aboutsummaryrefslogtreecommitdiffstats
path: root/regex_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'regex_internal.h')
-rw-r--r--regex_internal.h4
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);