diff options
| -rw-r--r-- | gzread.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -412,7 +412,7 @@ int ZEXPORT gzread(gzFile file, voidp buf, unsigned len) { | |||
| 412 | } | 412 | } |
| 413 | 413 | ||
| 414 | /* read len or fewer bytes to buf */ | 414 | /* read len or fewer bytes to buf */ |
| 415 | len = gz_read(state, buf, len); | 415 | len = (unsigned)gz_read(state, buf, len); |
| 416 | 416 | ||
| 417 | /* check for an error */ | 417 | /* check for an error */ |
| 418 | if (len == 0) { | 418 | if (len == 0) { |
