Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-diameter.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: Mon, 19 Feb 2001 19:20:24 -0600 (CST)
guy         2001/02/19 19:20:24 CST

  Modified files:
    .                    packet-diameter.c 
  Log:
  Don't do anything with 64-bit integral types if G_HAVE_GINT64 isn't
  defined.
  
  Use "gint64" and "guint64", not "long long int", for 64-bit integral
  types, so that this code works with compilers (such as Microsoft Visual
  C++) that have 64-bit integral types but that don't call them "long
  long".
  
  Use "pntohll()" to extract 64-bit integral types from a field.
  
  Put a "break;" into a "default:" clause - MSVC++ doesn't like
  
  	switch (XXX) {
  
  		...
  
  	default:
  	}
  
  Revision  Changes    Path
  1.18      +16 -10    ethereal/packet-diameter.c