summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 8a95f409..ab1a3020 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -160,8 +160,8 @@ int gps_close(struct gps_data_t *gpsdata)
#ifdef LIBGPS_DEBUG
static void libgps_dump_state(struct gps_data_t *collect)
{
- char *status_values[] = { "NO_FIX", "FIX", "DGPS_FIX" };
- char *mode_values[] = { "", "NO_FIX", "MODE_2D", "MODE_3D" };
+ const char *status_values[] = { "NO_FIX", "FIX", "DGPS_FIX" };
+ const char *mode_values[] = { "", "NO_FIX", "MODE_2D", "MODE_3D" };
/* no need to dump the entire state, this is a sanity check */
#ifndef USE_QT