Another couple of unsigned/ssize_t changes.

This commit is contained in:
Poul-Henning Kamp 2011-03-01 08:52:10 +00:00
parent 1e4b58070b
commit 818bc4157a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219123
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)));