Wireshark-commits: [Wireshark-commits] rev 43103: /trunk/wiretap/ /trunk/wiretap/: file_wrappers.c
Date: Tue, 05 Jun 2012 08:04:15 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43103

User: guy
Date: 2012/06/05 01:04 AM

Log:
 Making "had" a ptrdiff_t caused warnings, even if it eliminated a
 warning about assigning the difference between two (64-bit) pointers to
 a (32-bit) variable.  That difference is guaranteed to fit in an
 unsigned int; make "had" an unsigned int, and cast the difference to
 unsigned int before assigning it to "had".

Directory: /trunk/wiretap/
  Changes    Path               Action
  +6 -1      file_wrappers.c    Modified