diff options
author | João Valverde <j@v6e.pt> | 2021-12-21 08:53:44 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-12-22 01:53:46 +0000 |
commit | 2c44afbba3b6f5f01dd87a5c42beaa1186aaa07a (patch) | |
tree | 771d57204516b58a92214f9ac24c8102457597f3 /extcap | |
parent | f23296296ee620cefe2dfc741c4f90c1d1f82dfa (diff) |
Use UINT64_C() with two constants
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/androiddump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c index dd8e3fc802..2c72fdae54 100644 --- a/extcap/androiddump.c +++ b/extcap/androiddump.c @@ -1627,7 +1627,7 @@ static int capture_android_bluetooth_hcidump(char *interface, char *fifo, #define BLUEDROID_TIMESTAMP_SIZE 8 #define BLUEDROID_H4_SIZE 1 -static const uint64_t BLUEDROID_TIMESTAMP_BASE = G_GUINT64_CONSTANT(0x00dcddb30f2f8000); +static const uint64_t BLUEDROID_TIMESTAMP_BASE = UINT64_C(0x00dcddb30f2f8000); #define BLUEDROID_H4_PACKET_TYPE_HCI_CMD 0x01 #define BLUEDROID_H4_PACKET_TYPE_ACL 0x02 @@ -1902,7 +1902,7 @@ static int capture_android_bluetooth_btsnoop_net(char *interface, char *fifo, int result; char *serial_number; uint64_t ts; - static const uint64_t BTSNOOP_TIMESTAMP_BASE = G_GUINT64_CONSTANT(0x00dcddb30f2f8000); + static const uint64_t BTSNOOP_TIMESTAMP_BASE = UINT64_C(0x00dcddb30f2f8000); uint32_t *reported_length; uint32_t *captured_length; uint32_t *flags; |