Another couple of unsigned/ssize_t changes.
This commit is contained in:
parent
e0a7412b69
commit
a3f6bc2c11
@ -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;
|
||||
|
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user