mirror of
https://github.com/opnsense/src.git
synced 2026-03-06 15:20:53 -05:00
Another couple of unsigned/ssize_t changes.
This commit is contained in:
parent
1e4b58070b
commit
818bc4157a
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue