diff options
Diffstat (limited to 'src/postprocess/map_plz.c')
-rw-r--r-- | src/postprocess/map_plz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/postprocess/map_plz.c b/src/postprocess/map_plz.c index ab0db71..9dec6bb 100644 --- a/src/postprocess/map_plz.c +++ b/src/postprocess/map_plz.c | |||
@@ -18,7 +18,7 @@ int main(int argc, char **args) { | |||
18 | FILE *bfile, *streetfile_out; | 18 | FILE *bfile, *streetfile_out; |
19 | char *ptr, *input = malloc(65335); | 19 | char *ptr, *input = malloc(65335); |
20 | char *ort = malloc(65335), vorwahl_block[16]; | 20 | char *ort = malloc(65335), vorwahl_block[16]; |
21 | int i, brutes_count = 0, report = 0; | 21 | unsigned int i, brutes_count = 0, report = 0; |
22 | brute_t *brutes = malloc(200000*sizeof(brute_t)); | 22 | brute_t *brutes = malloc(200000*sizeof(brute_t)); |
23 | 23 | ||
24 | /* prepare io */ | 24 | /* prepare io */ |
@@ -63,7 +63,7 @@ int main(int argc, char **args) { | |||
63 | g_book_by_name = (entry_t*)malloc(g_book_size * sizeof(entry_t)); | 63 | g_book_by_name = (entry_t*)malloc(g_book_size * sizeof(entry_t)); |
64 | 64 | ||
65 | /* Split pointers into input files into our arrays */ | 65 | /* Split pointers into input files into our arrays */ |
66 | for (i = 0, ptr = (char*)tbuch->addr; i < g_book_size; ++i) { | 66 | for (i=0, ptr=(char*)tbuch->addr; i<g_book_size; ++i) { |
67 | g_book[i].vorwahl = ptr; ptr += strlen(ptr) + 1; | 67 | g_book[i].vorwahl = ptr; ptr += strlen(ptr) + 1; |
68 | g_book[i].ort = ptr; ptr += strlen(ptr) + 1; | 68 | g_book[i].ort = ptr; ptr += strlen(ptr) + 1; |
69 | g_book[i].strasse = ptr; ptr += strlen(ptr) + 1; | 69 | g_book[i].strasse = ptr; ptr += strlen(ptr) + 1; |