-#include <stdio.h>
-#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
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;