Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal int-64bit.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: Tue, 30 Oct 2001 02:39:03 -0600 (CST)
guy         2001/10/30 02:39:02 CST

  Modified files:
    .                    int-64bit.c 
  Log:
  In "u64toa()":
  
  	If the byte being investigated is 0, don't just do a "continue";
  	this might be one of the passes on which we have to propagate
  	carries, so skip the processing of that byte's bits, but fall
  	through to the carry processing.
  
  	In the carry processing loop, don't use "i" as the loop index,
  	as we're already using it as the outer loop index.
  
  In "u64toh()", use lower-case letters rather than upper-case letters, as
  we use "%x" rather than "%X" to print 8, 16, 24, and 32-bit integral
  values in the "proto.c" code.
  
  Revision  Changes    Path
  1.3       +13 -13    ethereal/int-64bit.c