From a79e1fb8056196bcc3a652b0f3fe77279e47c858 Mon Sep 17 00:00:00 2001 From: tezc Date: Sun, 24 Jan 2021 18:28:52 +0300 Subject: [PATCH] fix compiler warnings --- buffer/buf_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer/buf_test.c b/buffer/buf_test.c index d6a647e..8e28906 100644 --- a/buffer/buf_test.c +++ b/buffer/buf_test.c @@ -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);