summaryrefslogtreecommitdiff
path: root/clectio.c
diff options
context:
space:
mode:
Diffstat (limited to 'clectio.c')
-rw-r--r--clectio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clectio.c b/clectio.c
index 7a660cb..6461e51 100644
--- a/clectio.c
+++ b/clectio.c
@@ -40,7 +40,7 @@ static long days_from_civil(long y, unsigned m, unsigned d) {
static void load_text(void) {
unsigned raw = text_lz[0] | text_lz[1] << 8 | text_lz[2] << 16 | (unsigned)text_lz[3] << 24;
- int cap = 8192, n = 0;
+ size_t cap = 8192, n = 0;
char *p;
textbuf = malloc(raw + 1);
lz_unpack(text_lz + 4, text_lz_len - 4, (unsigned char *)textbuf, raw);