diff options
| author | steven-na <noreply.github@stvnc.dev> | 2026-08-05 21:23:31 -0700 |
|---|---|---|
| committer | steven-na <noreply.github@stvnc.dev> | 2026-08-05 21:23:31 -0700 |
| commit | 1646dfb9159e66c30821a5659e8f0a5eb3d52f05 (patch) | |
| tree | f6d4b6a876af0d35af832e8cdc312ff8777f548c /src/string.h | |
| parent | e0e52953570caea66096cda08dc814f34735f7af (diff) | |
Formatting, bug fix, test coverage
Diffstat (limited to 'src/string.h')
| -rw-r--r-- | src/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.h b/src/string.h index 7e3cf66..ef6d966 100644 --- a/src/string.h +++ b/src/string.h @@ -17,4 +17,4 @@ strng_t * strng_dup(smrt_arena_t *arena, strng_t const *src); b32 strng_set(strng_t *string, char const *c); void strng_clear(strng_t *string); -#define STRNG_FMT(s) (int)s->len, (char *)((u8*)s+STRNG_BASE_POS) +#define STRNG_FMT(s) (i32)s->len, (char *)((u8*)s+STRNG_BASE_POS) |