Another couple of unsigned/ssize_t changes.

This commit is contained in:
phk 2011-03-01 08:52:10 +00:00
parent e0a7412b69
commit a3f6bc2c11
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ const char *
fifolog_create(const char *fn, off_t size, ssize_t recsize)
{
int i, fd;
unsigned u;
ssize_t u;
off_t ms;
struct stat st;
char *buf;

View File

@ -318,7 +318,7 @@ fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now,
{
const unsigned char *p;
uint8_t buf[9];
unsigned bufl;
ssize_t bufl;
fifolog_write_assert(f);
assert(!(id & (FIFOLOG_TIMESTAMP|FIFOLOG_LENGTH)));