Wireshark-commits: [Wireshark-commits] master 35569d8: geonw: use glib uint64 modifier.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=35569d89f33d9480292e9c96c2558d02ce36e234
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
35569d8 by Dario Lombardo (lomato@xxxxxxxxx):
geonw: use glib uint64 modifier.
Fix compilation on OSX:
../epan/dissectors/packet-geonw.c:1248:164: error: format specifies type 'unsigned long' but the argument has type 'guint64' (aka 'unsigned long long') [-Werror,-Wformat]
proto_tree_add_uint64_bits_format_value(subtree, hf, tvb, (start << 3) + (*offset) - start, (((*offset) - start) << 3) - ((*offset) - start),tmp_val,"%lu",tmp_val);
~~~ ^~~~~~~
%llu
While here, minor indentation issues have been fixed.
Change-Id: I5fc37d337fc302a16210c784e75cf39085ef622e
Reviewed-on: https://code.wireshark.org/review/31186
Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 81fe5b8 gitlab-ci: don't force ninja-build installation.
add 35569d8 geonw: use glib uint64 modifier.
Summary of changes:
epan/dissectors/packet-geonw.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)