diff --git a/src/calibre/utils/lzx/compressor.c b/src/calibre/utils/lzx/compressor.c index cf3c3f6e92..c53fa8c924 100644 --- a/src/calibre/utils/lzx/compressor.c +++ b/src/calibre/utils/lzx/compressor.c @@ -21,7 +21,7 @@ + ((compressor)->input.size - (compressor)->input.offset)) typedef struct buffer_t { - void *data; + unsigned char *data; unsigned int size; unsigned int offset; } buffer_t;