summaryrefslogtreecommitdiffstats
path: root/epan/crc10-tvb.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
commit9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch)
tree2784370cda9bbf2da9114d70f05399c0b229d28c /epan/crc10-tvb.c
parentAdding debian version 4.2.6-1. (diff)
downloadwireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz
wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/crc10-tvb.c')
-rw-r--r--epan/crc10-tvb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/crc10-tvb.c b/epan/crc10-tvb.c
index 406cf89e..ffae9795 100644
--- a/epan/crc10-tvb.c
+++ b/epan/crc10-tvb.c
@@ -16,10 +16,10 @@
#include <epan/crc10-tvb.h>
/* update the data block's CRC-10 remainder one byte at a time */
-guint16
-update_crc10_by_bytes_tvb(guint16 crc10, tvbuff_t *tvb, int offset, int len)
+uint16_t
+update_crc10_by_bytes_tvb(uint16_t crc10, tvbuff_t *tvb, int offset, int len)
{
- const guint8 *buf;
+ const uint8_t *buf;
tvb_ensure_bytes_exist(tvb, offset, len); /* len == -1 not allowed */
buf = tvb_get_ptr(tvb, offset, len);