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>
This commit is contained in:
Dirk Hohndel 2015-06-17 11:42:15 -07:00
parent de586331b2
commit c897b857fb

View file

@ -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);