fix win32 compiler warnings
This commit is contained in:
@@ -31,7 +31,7 @@ epicsShareFunc float epicsConvertDoubleToFloat(double value)
|
||||
} else if(abs<=FLT_MIN) {
|
||||
if(value>0.0) rtnvalue = FLT_MIN; else rtnvalue = -FLT_MIN;
|
||||
} else {
|
||||
rtnvalue = value;
|
||||
rtnvalue = (float)value;
|
||||
}
|
||||
}
|
||||
return rtnvalue;
|
||||
|
||||
@@ -113,7 +113,7 @@ epicsShareFunc int epicsStrnCaseCmp(
|
||||
int nexts1,nexts2;
|
||||
|
||||
while(1) {
|
||||
if(ind++ >= n) break;
|
||||
if(ind++ >= (size_t)n) break;
|
||||
/* vxWorks implementation expands argument more than once!!! */
|
||||
nexts1 = toupper(*s1);
|
||||
nexts2 = toupper(*s2);
|
||||
|
||||
Reference in New Issue
Block a user