mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
Remove unsigned/signed compile warning.
This commit is contained in:
+1
-1
@@ -737,7 +737,7 @@ bool crstring_test(const char*str)
|
||||
if (tp == 0) return false;
|
||||
if (tp[1] != 0) return false;
|
||||
|
||||
if ((strspn(str+3, "0123456789abcdefmg")+3) != (tp - str))
|
||||
if ((strspn(str+3, "0123456789abcdefmg")+3) != (size_t)(tp - str))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user