aboutsummaryrefslogtreecommitdiffstats
path: root/regex_internal.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-01-22 08:29:53 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-01-22 08:29:53 +0200
commit4e0ce5bb18bb52c6084cac9b527d02e8fba5e530 (patch)
tree886cb23314ef786ff9db2fd7f72271fac2741bd1 /regex_internal.h
parent6b8e2a6a3308ec23fdaf305a5f1b80747a9be2db (diff)
parentbe891c3ac7cd31419cfc42cc98082a64766b1bf8 (diff)
downloadegawk-4e0ce5bb18bb52c6084cac9b527d02e8fba5e530.tar.gz
egawk-4e0ce5bb18bb52c6084cac9b527d02e8fba5e530.tar.bz2
egawk-4e0ce5bb18bb52c6084cac9b527d02e8fba5e530.zip
Merge branch 'master' into feature/cmake
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);