summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-22 12:10:55 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-22 12:10:55 +0000
commitf58575e893b8b2573ad6f769398acff51b76a275 (patch)
tree3e2bc815cfe387261dc31d7784488569308fc52f
parent696ffae846652077ae5a52b464a8df1d89303d22 (diff)
downloadgpsd-f58575e893b8b2573ad6f769398acff51b76a275.tar.gz
Splint warning suppression.
-rw-r--r--ntpshm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpshm.c b/ntpshm.c
index 8e6a9acd..36cf2fc9 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -78,7 +78,7 @@ int ntpshm_init(struct gps_context_t *context, bool enablepps)
# ifdef PPS_ENABLE
context->shmTimePPS = enablepps;
# endif /* PPS_ENABLE */
- return enablepps;
+ return (int)enablepps;
}
int ntpshm_alloc(struct gps_context_t *context)