diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2007-12-13 00:37:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2007-12-13 00:37:44 +0000 |
commit | 5ed2f7e385b436acc2c2777205bbf0ca80d63d1d (patch) | |
tree | 89d914d342f6080793419da3b7a47af295a523af /gpsd.h-tail | |
parent | 430213a9fe8ae23b3b83d29b2ce50011941f4a52 (diff) | |
download | gpsd-5ed2f7e385b436acc2c2777205bbf0ca80d63d1d.tar.gz |
Minor build and patches from the Gumstix crew.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 33c4b37e..8b4db23c 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -436,7 +436,7 @@ extern float roundf(float x); /* some OSes don't have round(). fake it if need be */ #ifndef HAVE_ROUND #define round(x) ((double)rint(x)) -#define roundf(x) ((float)rintf(x)) +#define roundf(x) ((float)rintf((double)x)) #endif /* !HAVE_ROUND */ /* OpenBSD and FreeBSD and Cygwin don't seem to have NAN, NetBSD does, others? */ |