Another couple of unsigned/ssize_t changes.
This commit is contained in:
parent
1e4b58070b
commit
818bc4157a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219123
@ -44,7 +44,7 @@ const char *
|
|||||||
fifolog_create(const char *fn, off_t size, ssize_t recsize)
|
fifolog_create(const char *fn, off_t size, ssize_t recsize)
|
||||||
{
|
{
|
||||||
int i, fd;
|
int i, fd;
|
||||||
unsigned u;
|
ssize_t u;
|
||||||
off_t ms;
|
off_t ms;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
char *buf;
|
char *buf;
|
||||||
|
@ -318,7 +318,7 @@ fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now,
|
|||||||
{
|
{
|
||||||
const unsigned char *p;
|
const unsigned char *p;
|
||||||
uint8_t buf[9];
|
uint8_t buf[9];
|
||||||
unsigned bufl;
|
ssize_t bufl;
|
||||||
|
|
||||||
fifolog_write_assert(f);
|
fifolog_write_assert(f);
|
||||||
assert(!(id & (FIFOLOG_TIMESTAMP|FIFOLOG_LENGTH)));
|
assert(!(id & (FIFOLOG_TIMESTAMP|FIFOLOG_LENGTH)));
|
||||||
|
Loading…
Reference in New Issue
Block a user