From 5af61e439210270e391c24ad111a0da14ecc549e Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 27 Jan 2019 21:20:11 +0100 Subject: C99 --- src/export/map_branches.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/export/map_branches.c b/src/export/map_branches.c index e4dd101..850e5c1 100644 --- a/src/export/map_branches.c +++ b/src/export/map_branches.c @@ -53,7 +53,8 @@ int main( int argc, char ** args ) while ( (ll = getline( &input, &input_length, stdin ) ) >= 0 ) { char *codes = input; branchen_code *bc; - for (int multiple = 0;; ++multiple) { + int multiple; + for (multiple = 0;; ++multiple) { long code = strtoul(codes, &end_p, 10); if (codes == end_p) break; bc = (branchen_code*)bsearch((void *)(uintptr_t)code, g_codes, g_code_count, sizeof(branchen_code), find_code); -- cgit v1.2.3