]> git.street.me.uk Git - andy/viking.git/blobdiff - src/degrees_converters.c
Add the ability to delete all waypoints or tracks in the layer.
[andy/viking.git] / src / degrees_converters.c
index 8e674dff576c5cee94f71ba8d756618d9cb23373..fbf433fd1057a2bf609b8e35621a231db7ad00d2 100644 (file)
@@ -178,7 +178,7 @@ gdouble convert_dms_to_dec(const gchar *dms)
                        gdouble value;
                        ptr = strpbrk (endptr, "0123456789,.");
                        if (ptr != NULL) {
-                               value = g_strtod(ptr, &endptr);
+                         value = g_strtod((const gchar *)ptr, (gchar **)&endptr);
                        nbFloat++;
                switch(nbFloat) {
                        case 1: