# define _POSIX_C_SOURCE 200112L
#endif
-#include <config.h>
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
return (status);
}
- assert (status <= want_bytes);
+ assert (((size_t) status) <= want_bytes);
have_bytes += status;
buffer_ptr += status;
}
else
return (errno);
}
- assert (bytes_written <= buffer_size);
+ assert (((size_t) bytes_written) <= buffer_size);
buffer_ptr += bytes_written;
buffer_size -= bytes_written;