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:
parent
de586331b2
commit
c897b857fb
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user