aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-asterix.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-asterix.c')
-rw-r--r--epan/dissectors/packet-asterix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-asterix.c b/epan/dissectors/packet-asterix.c
index aa61f74152..8cb93c49d3 100644
--- a/epan/dissectors/packet-asterix.c
+++ b/epan/dissectors/packet-asterix.c
@@ -9,7 +9,7 @@ See tools/asterix/README.md for details.
Data source:
https://zoranbosnjak.github.io/asterix-specs
-git revision: e603aaae8a33e12870241e8202501048c51f7dca
+git revision: 4df694c69c4302fe8a199ebdd903030a0e4200a0
*/
@@ -124,7 +124,7 @@ static void dissect_asterix_data_block (tvbuff_t *tvb, packet_info *pinfo, guint
static gint dissect_asterix_fields (tvbuff_t *, packet_info *pinfo, guint, proto_tree *, guint8, const AsterixField *[]);
static void asterix_build_subtree (tvbuff_t *, packet_info *pinfo, guint, proto_tree *, const AsterixField *);
-static void twos_complement (gint64 *, guint8);
+static void twos_complement (gint64 *, gint);
static guint8 asterix_bit (guint8, guint8);
static guint asterix_fspec_len (tvbuff_t *, guint);
static guint8 asterix_field_exists (tvbuff_t *, guint, int);
@@ -43081,7 +43081,7 @@ static guint8 asterix_bit (guint8 b, guint8 bitNo)
* bits need to be set to have proper two's complement.
* If the number is negative, all other bits must be set to 1.
* If the number is positive, all other bits must remain 0. */
-static void twos_complement (gint64 *v, guint8 bit_len)
+static void twos_complement (gint64 *v, gint bit_len)
{
if (*v & (G_GUINT64_CONSTANT(1) << (bit_len - 1))) {
*v |= (G_GUINT64_CONSTANT(0xffffffffffffffff) << bit_len);