mirror of
https://github.com/tezc/sc.git
synced 2025-01-14 06:43:04 +08:00
fix compiler warnings
This commit is contained in:
parent
00fd007618
commit
a79e1fb805
@ -222,7 +222,7 @@ extern size_t __real_strlen(const char *s);
|
||||
size_t __wrap_strlen(const char *s)
|
||||
{
|
||||
if (mock_strlen) {
|
||||
return UINT64_MAX;
|
||||
return SIZE_MAX;
|
||||
}
|
||||
|
||||
return __real_strlen(s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user