Wireshark-commits: [Wireshark-commits] rev 21978: /trunk/ /trunk/epan/dissectors/: packet-ansi_801.

Date: Tue, 29 May 2007 06:56:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21978

User: guy
Date: 2007/05/29 06:56 AM

Log:
 Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.
 
 In all the places where a cast to "long long" or "unsigned long long"
 was done, use G_GINT64_MODIFIER and get rid of the cast, as
 
 	1) there's no guarantee that "%ll" works
 
 and
 
 	2) there's no guarantee that "long long" works
 
 (the latter definitely does *NOT* work with MSVC++; the former doesn't
 work with regular printf in MSVC++, but it might work with the GLib
 printf-based functions).

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +5 -10     packet-ansi_801.c     Modified
  +5 -5      packet-ieee80211.c    Modified

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

Directory: /trunk/gtk/
  Changes    Path                 Action
  +1 -1      gsm_map_summary.c    Modified
  +9 -9      main.c               Modified
  +1 -1      mtp3_summary.c       Modified
  +1 -1      summary_dlg.c        Modified

Directory: /trunk/
  Changes    Path            Action
  +38 -0     acinclude.m4    Modified
  +38 -0     configure.in    Modified