diff options
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index 345bf61ed..aaf8651c0 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1217,7 +1217,7 @@ static void gps_in_dive(char *buffer, struct dive *dive) static void add_dive_site(char *ds_name, struct dive *dive) { - static long suffix = 1; + static int suffix = 1; char *buffer = ds_name; fprintf(stderr, "add_dive_site with name %s\n", buffer); int size = trimspace(buffer); |