[misc] fix multiple warnings

* Fix Visual Studio code analysis warnings
* Also rename VS targets to x86_32 and x86_64
This commit is contained in:
Pete Batard 2015-01-23 02:26:41 +00:00
parent eb9e5ab899
commit f965c5cd23
18 changed files with 158 additions and 128 deletions

View file

@ -261,7 +261,7 @@ unpack_Z_stream(transformer_state_t *xstate)
{
int i;
i = de_stack - stackp;
i = (int)(de_stack - stackp);
if (outpos + i >= OBUFSIZ) {
do {
if (i > OBUFSIZ - outpos) {
@ -279,7 +279,7 @@ unpack_Z_stream(transformer_state_t *xstate)
outpos = 0;
}
stackp += i;
i = de_stack - stackp;
i = (int)(de_stack - stackp);
} while (i > 0);
} else {
memcpy(outbuf + outpos, stackp, i);