Wireshark-commits: [Wireshark-commits] rev 51250: /trunk/ /trunk/: dumpcap.c

Date: Sat, 10 Aug 2013 21:27:26 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51250

User: alagoutte
Date: 2013/08/10 02:27 PM

Log:
 Fix error when build with clang 3.0
 
 dumpcap.c:3981:88: error: implicit conversion loses integer precision: 'const __suseconds_t'
       (aka 'const long') to 'guint32' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
                                                              phdr->ts.tv_sec, phdr->ts.tv_usec,
                                                                               ~~~~~~~~~^~~~~~~
 dumpcap.c:3989:73: error: implicit conversion loses integer precision: 'const __suseconds_t'
       (aka 'const long') to 'guint32' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
                                               phdr->ts.tv_sec, phdr->ts.tv_usec,
                                                                ~~~~~~~~~^~~~~~~

Directory: /trunk/
  Changes    Path          Action
  +2 -2      dumpcap.c     Modified