Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap netxray.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: Wed, 14 Feb 2001 03:38:11 -0600 (CST)
guy         2001/02/14 03:38:11 CST

  Modified files:
    wiretap              netxray.c 
  Log:
  Sigh.  Microsoft Visual C++ 6.0 won't convert a "guint64" to a "double"
  - it only allows you to convert a *signed* 64-bit integer to a "double".
  Cast the result of "pletohll()" to "gint64" before returning it from a
  function that returns a "double".
  
  Revision  Changes    Path
  1.36      +2 -2      ethereal/wiretap/netxray.c