aboutsummaryrefslogtreecommitdiffstats
path: root/src/sds.c
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-18 18:42:56 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-01-19 00:25:41 +0100
commit5a0205be790dbe6402c36ae36151b8688522e2f0 (patch)
tree836d37c9b923ae18bb439230fda2f32a6573cb29 /src/sds.c
parentd7d703e33aa65a4818a05bc678fe62750390ed67 (diff)
downloadsds-5a0205be790dbe6402c36ae36151b8688522e2f0.tar.xz
sdsfreesplitres: Change count arg to size_t
This makes it match sdssplitlen
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 0179e60..b0e596e 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -521,7 +521,7 @@ cleanup:
}
/* Free the result returned by sdssplitlen(), or do nothing if 'tokens' is NULL. */
-void sdsfreesplitres(sds *tokens, int count) {
+void sdsfreesplitres(sds *tokens, size_t count) {
if (!tokens) { return; }
while(count--) {
sdsfree(tokens[count]);