Wireshark-commits: [Wireshark-commits] rev 51978: /trunk/epan/ /trunk/epan/: proto.c
Date: Thu, 12 Sep 2013 20:07:49 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51978

User: jmayer
Date: 2013/09/12 01:07 PM

Log:
 Make proto.c compile on my system (linux, 32 bit)
 
       [-Werror,-Wshorten-64-to-32]
                                 time_stamp.secs = (todsecs  / 1000000) - TOD_BASETIME;
                                                 ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
 /home/jmayer/work/wireshark/svn/trunk/epan/proto.c:1613:44: error: implicit conversion
       loses integer precision: 'unsigned long long' to 'time_t' (aka 'long')
       [-Werror,-Wshorten-64-to-32]
                                 time_stamp.secs = (todsecs  / 1000000) - TOD_BASETIME;
                                                 ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

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