summaryrefslogtreecommitdiff
path: root/src/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.h')
-rw-r--r--src/string.h2
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)