Solved some type conversion warnings; replaced #warning with // TODO

This commit is contained in:
Gianluca Bertani
2015-09-09 21:00:36 +02:00
parent dbd1e5962f
commit 94312b945e
7 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ local int gz_load(state, buf, len, have)
*have = 0;
do {
ret = read(state->fd, buf + *have, len - *have);
ret = (int) read(state->fd, buf + *have, len - *have);
if (ret <= 0)
break;
*have += ret;