summaryrefslogtreecommitdiffstats
path: root/XUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'XUtils.h')
-rw-r--r--XUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XUtils.h b/XUtils.h
index e0aeebe2..19cfadb3 100644
--- a/XUtils.h
+++ b/XUtils.h
@@ -59,7 +59,7 @@ ATTR_FORMAT(printf, 2, 3)
int xAsprintf(char** strp, const char* fmt, ...);
ATTR_FORMAT(printf, 3, 4)
-int xSnprintf(char* buf, int len, const char* fmt, ...);
+int xSnprintf(char* buf, size_t len, const char* fmt, ...);
char* xStrdup(const char* str) ATTR_NONNULL;