aboutsummaryrefslogtreecommitdiffstats
path: root/src/sds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sds.c')
-rw-r--r--src/sds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sds.c b/src/sds.c
index 96a6c4c..e68a401 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -200,7 +200,7 @@ size_t sdsAllocSize(sds s) {
* ... check for nread <= 0 and handle it ...
* sdsIncrLen(s, nread);
*/
-void sdsIncrLen(sds s, int incr) {
+void sdsIncrLen(sds s, size_t incr) {
struct sdshdr *sh = sdsheader(s);
assert(sh->free >= incr);