diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 11:42:15 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-17 11:42:15 -0700 |
commit | c897b857fb4bc83509fafe6677820392b782e5f8 (patch) | |
tree | 5e71e25ccb0a2966dde13582554ba8775c0a8cd2 /parse-xml.c | |
parent | de586331b264e144401cff5537d6593dcbe3e93b (diff) | |
download | subsurface-c897b857fb4bc83509fafe6677820392b782e5f8.tar.gz |
We don't really need a long to count the dive sites
At least I hope not.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-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); |