From: Steinar H. Gunderson Date: Sat, 3 Jan 2009 10:26:24 +0000 (+0100) Subject: Fix a warning. X-Git-Url: https://git.sesse.net/?p=fjl;a=commitdiff_plain;h=6543458868bf1090c6b0bb7a088430f07d83f63b;ds=sidebyside Fix a warning. --- 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;