From c897b857fb4bc83509fafe6677820392b782e5f8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 17 Jun 2015 11:42:15 -0700 Subject: We don't really need a long to count the dive sites At least I hope not. Signed-off-by: Dirk Hohndel --- parse-xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2