Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-olsr.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, 16 Jan 2004 16:31:54 -0600 (CST)
guy         2004/01/16 16:31:54 CST

  Modified files:
    .                    packet-olsr.c 
  Log:
  Passing a double as the value argument to "proto_tree_add_uint()" or
  "proto_tree_add_uint_format()" truncates it to a guint32; that might be
  what you'd want if it has no fractional part, but it's probably not what
  you want if it has a fractional part.  Make the validity time and hello
  emission interval values be FT_DOUBLE - and make the variables storing
  them doubles so that we don't get whinging from some compilers about
  stuffing doubles into floats.
  
  Use hex, not decimal, for bitmasks.
  
  Revision  Changes    Path
  1.2       +16 -18    ethereal/packet-olsr.c