summaryrefslogtreecommitdiff
path: root/runtime/stringbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stringbuf.h')
-rw-r--r--runtime/stringbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stringbuf.h b/runtime/stringbuf.h
index 2df48ab..9de7ce3 100644
--- a/runtime/stringbuf.h
+++ b/runtime/stringbuf.h
@@ -178,7 +178,7 @@ rsRetVal rsCStrAppendStrWithLen(cstr_t *pThis, uchar* psz, size_t iStrLen);
*
* \param fmt pointer to the format string (see man 3 printf for details). Must not be NULL.
*/
-rsRetVal rsCStrAppendStrf(cstr_t *pThis, uchar *fmt, ...);
+rsRetVal rsCStrAppendStrf(cstr_t *pThis, char *fmt, ...) __attribute__((format(printf,2, 3)));
/**
* Append an integer to the string. No special formatting is