Partial revert "all: use unsigned types for more variables that represent length"
This reverts commit 0b6f95294e.
(for merge)
This commit is contained in:
parent
d87beb1a09
commit
da77dcc452
2 changed files with 3 additions and 3 deletions
|
|
@ -172,7 +172,7 @@ capn_write_mem(struct capn *c, uint8_t *p, size_t sz, int packed)
|
|||
{
|
||||
struct capn_segment *seg;
|
||||
struct capn_ptr root;
|
||||
unsigned i;
|
||||
int i;
|
||||
uint32_t headerlen;
|
||||
size_t datasz;
|
||||
uint32_t *header;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ int capn_deflate(struct capn_stream* s) {
|
|||
}
|
||||
|
||||
while (s->avail_in) {
|
||||
unsigned i, sz = 0;
|
||||
int i, sz = 0;
|
||||
uint8_t hdr = 0;
|
||||
uint8_t *p;
|
||||
|
||||
|
|
@ -104,7 +104,7 @@ int capn_inflate(struct capn_stream* s) {
|
|||
}
|
||||
|
||||
while (s->avail_out) {
|
||||
unsigned i, sz;
|
||||
int i, sz;
|
||||
uint8_t hdr;
|
||||
|
||||
if (s->zeros > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue