This commit is contained in:
+1
-1
@@ -365,7 +365,7 @@ static ph7_real MemObjCharValue(ph7_value *pObj) {
|
||||
/* Empty string */
|
||||
return 0;
|
||||
}
|
||||
return (int) sString.zString[0];
|
||||
return (int)(unsigned char) sString.zString[0];
|
||||
}
|
||||
/* NOT REACHED */
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user