summaryrefslogtreecommitdiffhomepage
path: root/include/stc/forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/forward.h')
-rw-r--r--include/stc/forward.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/forward.h b/include/stc/forward.h
index 39628fa0..2e0b3445 100644
--- a/include/stc/forward.h
+++ b/include/stc/forward.h
@@ -55,7 +55,7 @@ typedef struct { cstr_value* data; size_t size, cap; } cstr_buf;
typedef struct { cstr_value* str; } cstr;
#else
typedef union {
- struct { cstr_value data[sizeof(cstr_buf) - 1]; unsigned char last; } sml;
+ struct { cstr_value data[sizeof(cstr_buf) - 1]; unsigned char size; } sml;
struct { cstr_value* data; size_t size, ncap; } lon;
} cstr;
#endif