diff options
author | Mariusz PluciĆski <mplucinski@mplucinski.com> | 2014-07-25 15:22:01 +0200 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2014-07-25 09:48:16 -0400 |
commit | 2d257614dd66f410375f24ce1f2306b3c260bd29 (patch) | |
tree | be8c3060532fc014ae6bf44d79fc3e24f0a52af6 /src/scanflags.c | |
parent | 681db87f8ffb3d6177f0bfa54d877a88ea0a9ed8 (diff) |
Allow error reporting routines to accept varying number of arguments in modern style
Diffstat (limited to 'src/scanflags.c')
-rw-r--r-- | src/scanflags.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scanflags.c b/src/scanflags.c index f75aa82..c61d47f 100644 --- a/src/scanflags.c +++ b/src/scanflags.c @@ -61,8 +61,7 @@ sf_init (void) assert(_sf_stk == NULL); _sf_stk = (scanflags_t*) flex_alloc ( sizeof(scanflags_t) * (_sf_max = 32)); if (!_sf_stk) - lerrsf_fatal(_("Unable to allocate %ld of stack"), - (long)sizeof(scanflags_t)); + lerrsf_fatal(_("Unable to allocate %ld of stack"), sizeof(scanflags_t)); _sf_stk[_sf_top_ix] = 0; } |