summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-04 11:08:01 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-04 11:08:01 -0400
commitbc908a306cc945e0b16a7e70035c8f4dc635f4fc (patch)
treed1f91bf55e55b075085ba0d151c551a9dd01e642 /gpsd.h-tail
parentb6d4702ce0f266200b881d806597bfedfc836c44 (diff)
downloadgpsd-bc908a306cc945e0b16a7e70035c8f4dc635f4fc.tar.gz
Fix a splint warning. All regression tests pass.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 263ff449..8057b824 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -814,7 +814,7 @@ extern struct tm *localtime_r(const time_t *,/*@out@*/struct tm *tp)/*@modifies
/* Ugh - required for build on Solaris */
#ifndef NAN
-#define NAN (0.0/0.0)
+#define NAN (0.0f/0.0f)
#endif
/* Cygwin, in addition to NAN, doesn't have cfmakeraw */