From 34a8ccff95ae44a7f5d99adb7cd0e740d4118b5d Mon Sep 17 00:00:00 2001 From: Max Wash Date: Fri, 29 May 2026 20:20:05 +0100 Subject: [PATCH] fx: fix linux compilation --- fx/cstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fx/cstr.c b/fx/cstr.c index e6535c7..97b70ef 100644 --- a/fx/cstr.c +++ b/fx/cstr.c @@ -359,7 +359,7 @@ fx_status cstr_to_size(const char *in, size_t *out) return FX_ERR_BAD_STATE; } - if (v > SIZE_T_MAX) { + if (v > SIZE_MAX) { return FX_ERR_BAD_STATE; }