Ethereal-cvs: [Ethereal-cvs] Rev 11828: /trunk/epan/ftypes/: ftype-integer.c

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

Date: Wed, 25 Aug 2004 03:44:18 -0000
User: guy
Date: 2004/08/24 10:44 PM

Log:
 guint64 & guint64 is another guint64, but a gboolean is just 32 bits on
 most if not all platforms; the "bitwise and" operator in display filters
 is Boolean and evaluates to "true" if the result is non-zero and "false"
 otherwise, so explicitly do the comparison with 0 to make sure we don't
 just throw away the upper 32 bits.
 
 Do the same for the 32-bit bitwise AND as well, although it's not
 strictly necessary.

Directory: /trunk/epan/ftypes/
  Changes    Path               Action
  +2 -2      ftype-integer.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=11828&view=rev