| 210 | int *pi)); |
| 211 | |
| 212 | local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, int *pi) |
| 213 | { |
| 214 | unsigned char c; |
| 215 | int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); |
| 216 | if (err==1) |
| 217 | { |
| 218 | *pi = (int)c; |
| 219 | return UNZ_OK; |
| 220 | } |
| 221 | else |
| 222 | { |
| 223 | if (ZERROR64(*pzlib_filefunc_def,filestream)) |
| 224 | return UNZ_ERRNO; |
| 225 | else |
| 226 | return UNZ_EOF; |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | |
| 231 | /* =========================================================================== |
no outgoing calls
no test coverage detected