fix win32 compiler warnings

This commit is contained in:
Marty Kraimer
2005-12-13 12:57:19 +00:00
parent 6e09e17a23
commit de797d11e2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);