Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal text2pcap.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Oct 2002 15:02:01 -0500 (CDT)
guy         2002/10/17 15:02:01 CDT

  Modified files:
    .                    text2pcap.c 
  Log:
  Don't use "unsigned long" when you mean "unsigned 32-bit integer", as
  "unsigned long" is an unsigned *64-bit* integer on many platforms.
  
  While we're at it, use "guint8" rather than "unsigned char" for
  "unsigned 8-bit integer", and use "guint16" rather than "unsigned short"
  for "unsigned 16-bit integer".
  
  Make the seconds field of a libpcap time stamp signed, as it's supposed
  to be.
  
  Revision  Changes    Path
  1.24      +59 -59    ethereal/text2pcap.c