From 6543458868bf1090c6b0bb7a088430f07d83f63b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 3 Jan 2009 11:26:24 +0100 Subject: [PATCH] Fix a warning. --- bytesource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bytesource.c b/bytesource.c index 4ebe79c..65d5a44 100644 --- a/bytesource.c +++ b/bytesource.c @@ -47,7 +47,7 @@ ssize_t byte_source_input_func(void* source, uint8_t* buf, size_t len) src->bytes + src->bytes_available, bytes_to_read); assert(bytes_read >= -1); - assert(bytes_read <= bytes_to_read); + assert(bytes_read <= (ssize_t)bytes_to_read); if (bytes_read == -1) { return -1; -- 2.39.2