fix epicsStrtod for 32 bit architectures
This commit is contained in:
1 parent
e13d65f6f5
commit
b833f12129
1 file changed
+2
-2
@@ -362,9 +362,9 @@ epicsStrtod(const char *str, char **endp)
|
||||
|
||||
if (epicsStrnCaseCmp("0x", cp, 2) == 0) {
|
||||
if (negative)
|
||||
return strtol(str, endp, 16);
|
||||
return strtoll(str, endp, 16);
|
||||
else
|
||||
return strtoul(str, endp, 16);
|
||||
return strtoull(str, endp, 16);
|
||||
}
|
||||
if (!isalpha((int)*cp)) {
|
||||
res = strtod(str, endp);
|
||||
|
||||
Reference in new issue
Block a user