Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk summary_dlg.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Fri, 18 Jun 2004 15:23:10 -0500 (CDT)
guy         2004/06/18 15:23:10 CDT

  Modified files:
    gtk                  summary_dlg.c 
  Log:
  "ti_time" is a "time_t", not a "long" ("time_t" isn't necessarily a
  "long").
  
  Make "elapsed_time" an "unsigned int" rather than an "unsigned long" -
  2^32-1 seconds is about 136 years, so on LP64 machines that won't
  matter, and on ILP32 machines it doesn't make any difference, but it
  *does* generate compiler warnings from "%u" being used with "unsigned
  long" values.
  
  Revision  Changes    Path
  1.35      +7 -7      ethereal/gtk/summary_dlg.c