diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
commit | c4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch) | |
tree | 93d5c6aa93d9987680dd1adad5685e2ad698f223 /writecap | |
parent | Adding upstream version 4.2.6. (diff) | |
download | wireshark-upstream.tar.xz wireshark-upstream.zip |
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'writecap')
-rw-r--r-- | writecap/pcapio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writecap/pcapio.c b/writecap/pcapio.c index 58c49179..bdfb87ad 100644 --- a/writecap/pcapio.c +++ b/writecap/pcapio.c @@ -294,7 +294,7 @@ pcapng_write_block(FILE* pfile, * getting the trailing block_total_length from the length argument gives * us an implicit check of correctness without needing to do an endian swap */ - if (((length & 3) != 0) || (((gintptr)data & 3) != 0)) { + if (((length & 3) != 0) || (((intptr_t)data & 3) != 0)) { *err = EINVAL; return false; } |