aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cstring/include/cstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cstring/include/cstring.h b/cstring/include/cstring.h
index 3e693e1..c24cd35 100644
--- a/cstring/include/cstring.h
+++ b/cstring/include/cstring.h
@@ -75,7 +75,7 @@ static inline void cstring_copy(char* dst, const char* src, size_t count) {
75 static inline void STRING##_append_cstr_len( \ 75 static inline void STRING##_append_cstr_len( \
76 STRING* a, const char* b, const size_t b_length) { \ 76 STRING* a, const char* b, const size_t b_length) { \
77 ASSERT(a->length + b_length + 1 <= SIZE); \ 77 ASSERT(a->length + b_length + 1 <= SIZE); \
78 cstring_copy(a->str + a->length, b, SIZE - a->length); \ 78 cstring_copy(a->str + a->length, b, b_length); \
79 a->length += b_length; \ 79 a->length += b_length; \
80 } \ 80 } \
81 \ 81 \