* Fix wanings for reduce precision on integers.

* Add wrapper for strncat
This commit is contained in:
Patrick Pelissier committed 2020-06-22 00:14:37 +02:00
1 parent d27c448a94
commit cc6da8941c
5 files changed
+17 -13

No files matched your search

+1 -1
View File
@@ -1884,7 +1884,7 @@ namespace m_string {
BOUNDED_STRINGI_CONTRACT(s, max_size); \
assert (str != NULL); \
assert (strlen(s->s) <= max_size); \
strncat(s->s, str, max_size-strlen(s->s)); \
m_core_strncat(s->s, str, max_size-strlen(s->s)); \
} \
\
static inline void \