summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/string.h b/payloads/libpayload/include/string.h
index 4aff0e8994..52379a034d 100644
--- a/payloads/libpayload/include/string.h
+++ b/payloads/libpayload/include/string.h
@@ -73,7 +73,7 @@ char *strerror(int errnum);
* @defgroup string Unicode functions
* @{
*/
-char *utf16le_to_ascii(uint16_t *utf16_string, int maxlen);
+char *utf16le_to_ascii(const uint16_t *utf16_string, size_t maxlen);
/** @} */
/**