From 77a0dfec12406c5c9c96088f1538d2c7594a5cb7 Mon Sep 17 00:00:00 2001 From: ahmedsamyh Date: Fri, 28 Feb 2025 08:16:32 +0500 Subject: [PATCH] [commonlib.h] Wrap sv arround () in SV_ARG(sv) --- commonlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commonlib.h b/commonlib.h index 1604c4f..fa6f626 100644 --- a/commonlib.h +++ b/commonlib.h @@ -256,7 +256,7 @@ typedef struct { } c_String_view; #define c_SV_FMT "%.*s" -#define c_SV_ARG(sv) (int)sv.count, sv.data +#define c_SV_ARG(sv) (int)(sv).count, (sv).data #define c_SV(cstr) (c_String_view){.data = cstr, strlen(cstr)} -- 2.39.5