| 365 | local int zip64local_getShort OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, uLong *pX)); |
| 366 | |
| 367 | local int zip64local_getShort(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, uLong* pX) |
| 368 | { |
| 369 | uLong x; |
| 370 | int i = 0; |
| 371 | int err; |
| 372 | |
| 373 | err = zip64local_getByte(pzlib_filefunc_def, filestream, &i); |
| 374 | x = (uLong)i; |
| 375 | |
| 376 | if (err == ZIP_OK) |
| 377 | err = zip64local_getByte(pzlib_filefunc_def, filestream, &i); |
| 378 | x += ((uLong)i) << 8; |
| 379 | |
| 380 | if (err == ZIP_OK) |
| 381 | *pX = x; |
| 382 | else |
| 383 | *pX = 0; |
| 384 | return err; |
| 385 | } |
| 386 | |
| 387 | local int zip64local_getLong OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, uLong *pX)); |
| 388 |
no test coverage detected