summaryrefslogtreecommitdiff
path: root/cgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-29 01:37:11 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-29 01:37:11 -0400
commit8dab4f5ab4cde66b7db01384de367aab2ca1b2c7 (patch)
treeacfc7ba13d938d7e4e5011a20a32de666d155a09 /cgps.c
parent25724b4a4734070a370a9c17d5e54d6fa1f59cb4 (diff)
downloadgpsd-8dab4f5ab4cde66b7db01384de367aab2ca1b2c7.tar.gz
splint cleanup.
Diffstat (limited to 'cgps.c')
-rw-r--r--cgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgps.c b/cgps.c
index 78d9e60d..e60099ed 100644
--- a/cgps.c
+++ b/cgps.c
@@ -705,7 +705,7 @@ static void update_gps_panel(struct gps_data_t *gpsdata)
}
/* Be quiet if the user requests silence. */
- if (!silent_flag && raw_flag && (s = gps_data(gpsdata)) != NULL) {
+ if (!silent_flag && raw_flag && (s = (char *)gps_data(gpsdata)) != NULL) {
(void)waddstr(messages, s);
}