Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rsvp.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: Sat, 2 Mar 2002 01:22:31 -0600 (CST)
guy         2002/03/02 01:22:25 CST

  Modified files:
    .                    packet-rsvp.c 
  Log:
  "ulong" isn't defined on MacOS X (and probably isn't defined on some
  other platforms, either) - don't use it.  Instead, use "guint32", as the
  item in question is a 32-bit unsigned integer.
  
  In fact, it's a 32-bit unsigned integer containing a bit set, and the
  data type isn't a "long", so print it with "0x%08x", rather than
  "0x%04lx", so that all 8 hex digits are printed, and so that the format
  matches the data type.
  
  It also doesn't have to be initialized - the only code path in which
  it's used sets it.
  
  Revision  Changes    Path
  1.57      +3 -3      ethereal/packet-rsvp.c