all: use unsigned types for more variables that represent length

resolve build warnings on multiple platforms/toolchains
This commit is contained in:
Liam Staskawicz 2015-08-03 15:14:21 -07:00
parent 125c638c11
commit 0b6f95294e
5 changed files with 17 additions and 16 deletions

View file

@ -161,7 +161,7 @@ capn_write_mem(struct capn *c, uint8_t *p, size_t sz, int packed)
{
struct capn_segment *seg;
struct capn_ptr root;
int i;
unsigned i;
uint32_t headerlen;
size_t datasz;
uint32_t *header;