diff --git a/uemis.c b/uemis.c index 81f145b11..59f7057e9 100644 --- a/uemis.c +++ b/uemis.c @@ -150,7 +150,7 @@ int uemis_get_weight_unit(int diveid) return 0; } -void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *longitude, degrees_t *latitude) +void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *latitude, degrees_t *longitude) { struct uemis_helper *hp = uemis_get_helper(diveid); hp->divespot = divespot; diff --git a/uemis.h b/uemis.h index ddc9c9936..32c4bdc24 100644 --- a/uemis.h +++ b/uemis.h @@ -14,7 +14,7 @@ extern "C" { void uemis_parse_divelog_binary(char *base64, void *divep); int uemis_get_weight_unit(int diveid); -void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *longitude, degrees_t *latitude); +void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *latitude, degrees_t *longitude); void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude); typedef struct