Corrected an issue found by Harald Pretl and solved by Claude.

Use of "char" does *not* implicitly mean "signed" on ARM
architectures.
This commit is contained in:
R. Timothy Edwards
2026-03-22 11:14:19 -04:00
parent 66faf1d907
commit 7ceeccef56
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -770,7 +770,7 @@ drcTile (tile, dinfo, arg)
PropertyRecord *proprec;
bool propfound, isinside = FALSE;
char *name;
char idx = cptr->drcc_exception;
signed char idx = cptr->drcc_exception;
if (idx < 0) idx = -idx - 1;
name = DRCCurStyle->DRCExceptionList[idx];
@@ -1216,7 +1216,7 @@ drcTile (tile, dinfo, arg)
PropertyRecord *proprec;
bool propfound, isinside = FALSE;
char *name;
char idx = cptr->drcc_exception;
signed char idx = cptr->drcc_exception;
if (idx < 0) idx = -idx - 1;
name = DRCCurStyle->DRCExceptionList[idx];