Wireshark-commits: [Wireshark-commits] master fe12759: androiddump: make nanoseconds int
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fe12759b8e0370dd3e4e8434b4140c098ade7a38
Submitter: Stig Bj?rlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
fe12759 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
androiddump: make nanoseconds int
This fixes a compiler warning on OS X:
extcap/androiddump.c:312:42: warning: implicit
conversion loses integer precision: 'long' to '__darwin_suseconds_t' (aka 'int')
[-Wshorten-64-to-32]
pcap_header.ts.tv_usec = nanoseconds / 1000;
~ ~~~~~~~~~~~~^~~~~~
Change-Id: I6077130fbe4e1cb4f26d82271cfb85d1bf03e35c
Reviewed-on: https://code.wireshark.org/review/11655
Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Actions performed:
from fcda681 randpkt: fix no previous prototype for 'randpkt_*' [-Wmissing-prototypes]
adds fe12759 androiddump: make nanoseconds int
Summary of changes:
extcap/androiddump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)