diff options
author | wrmr | 2025-10-08 19:29:10 -0400 |
---|---|---|
committer | wrmr | 2025-10-08 19:29:10 -0400 |
commit | e9d374f44300f67d4f3974c043b0c0588bfdb869 (patch) | |
tree | 3f5da92ba0acd9eee3e43d51ceaf2dcee44d3ed8 /str.h | |
parent | 46a9842938333a58a051d031e724f35f5caf56de (diff) |
changes to make GCC shut up
Diffstat (limited to 'str.h')
-rw-r--r-- | str.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ typedef struct { Str head, tail; } Cut; -#define S(s) (Str){s,sizeof(s)-1} +#define Ss(s) {s,sizeof(s)-1} +#define S(s) (Str)Ss(s) char *str_to_cstr(Str s, Arena *a); Str str_from_cstr(const char *s); |