added -Wextra -Werror and fixed everything it had to mecker about

This commit is contained in:
TLINDEN
2014-02-25 18:05:32 +01:00
parent 21b0ea38db
commit 8b955b5e92
19 changed files with 36 additions and 81 deletions

View File

@@ -165,10 +165,10 @@ size_t pcp_decrypt_stream(Pcpstream *in, Pcpstream* out, pcp_key_t *s, byte *sym
pcp_pubkey_t *cur = NULL;
pcp_pubkey_t *sender = NULL;
byte *reccipher = NULL;
int nrec, recmatch, self;
int recmatch, self;
uint32_t lenrec;
byte head[1];
size_t cur_bufsize, rec_size;
size_t cur_bufsize, rec_size, nrec;
byte rec_buf[PCP_ASYM_RECIPIENT_SIZE];