mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
fix clang compiler warnings (including fixing a bug revealed in cmdhftopaz.c)
This commit is contained in:
parent
8aee1b8418
commit
31a29271b9
5 changed files with 7 additions and 7 deletions
|
@ -1523,7 +1523,7 @@ z_streamp strm;
|
|||
{
|
||||
struct inflate_state FAR *state;
|
||||
|
||||
if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
|
||||
if (strm == Z_NULL || strm->state == Z_NULL) return ~0UL << 16;
|
||||
state = (struct inflate_state FAR *)strm->state;
|
||||
return ((long)(state->back) << 16) +
|
||||
(state->mode == COPY ? state->length :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue