Fixed compiler warnings connected to missing char->int casts

This commit is contained in:
Ralph Lange
2003-04-03 12:05:09 +00:00
parent 5b0d460260
commit 881ba6bb9d
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ int dbTranslateEscape(char *to, const char *from)
pfrom++; /*skip the x*/
for(i=0; i<2; i++) {
if(!isxdigit(*pfrom)) break;
if(!isxdigit((int)*pfrom)) break;
strval[i] = *pfrom++;
}
sscanf(strval,"%x",&ival);