From a3d3b21dbdad912fcca74ba2263d007c764b9ea3 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 18 Jan 2015 15:38:11 +0100 Subject: sds.h: Change len and free to size_t --- src/sds.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sds.h b/src/sds.h index 489e623..86e2a8c 100644 --- a/src/sds.h +++ b/src/sds.h @@ -31,13 +31,14 @@ #define SDS_MAX_PREALLOC (1024*1024) #include +#include #include typedef char *sds; struct sdshdr { - int len; - int free; + size_t len; + size_t free; char buf[]; }; -- cgit v1.2.3-70-g09d2