fix comparison syntax in s_nan.c

This commit is contained in:
Jeff Bezanson 2012-11-01 15:09:48 -04:00
parent 75ba4267f9
commit 4ebe327d24
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
#if !defined(__APPLE__) && !defined(__FreeBSD__)
static __inline int digittoint(int c) {
if ('0' <= c <= '9')
if ('0' <= c && c <= '9')
return (c - '0');
else if ('A' <= c && c <= 'F')
return (c - 'A' + 10);