summaryrefslogtreecommitdiff
path: root/src/export
diff options
context:
space:
mode:
Diffstat (limited to 'src/export')
-rw-r--r--src/export/map_branches.c3
1 files changed, 2 insertions, 1 deletions
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 )
53 while ( (ll = getline( &input, &input_length, stdin ) ) >= 0 ) { 53 while ( (ll = getline( &input, &input_length, stdin ) ) >= 0 ) {
54 char *codes = input; 54 char *codes = input;
55 branchen_code *bc; 55 branchen_code *bc;
56 for (int multiple = 0;; ++multiple) { 56 int multiple;
57 for (multiple = 0;; ++multiple) {
57 long code = strtoul(codes, &end_p, 10); 58 long code = strtoul(codes, &end_p, 10);
58 if (codes == end_p) break; 59 if (codes == end_p) break;
59 bc = (branchen_code*)bsearch((void *)(uintptr_t)code, g_codes, g_code_count, sizeof(branchen_code), find_code); 60 bc = (branchen_code*)bsearch((void *)(uintptr_t)code, g_codes, g_code_count, sizeof(branchen_code), find_code);