Ethereal-cvs: [Ethereal-cvs] rev 12915: /trunk/gtk/: file_dlg.c packet_history.c summary_dlg.c

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

Date: Sat, 01 Jan 2005 23:19:20 -0000
User: guy
Date: 2005/01/01 05:19 PM

Log:
 The right way to check whether a pointer is null and get a Boolean is to
 test it against null, not to cast it to a Boolean type - as Boolean
 types in C89/C90, at least, are just integral types, that cast might
 just throw away the upper 32 bits; that probably yields the results you
 want, but the compiler might well justifiably warn about that on an LP64
 platform.

Directory: /trunk/gtk/
  Changes    Path                Action
  +5 -5      file_dlg.c          Modified
  +2 -2      packet_history.c    Modified
  +4 -4      summary_dlg.c       Modified



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