Wireshark-bugs: [Wireshark-bugs] [Bug 2130] Mistake in Readme.stats_tree
Date: Fri, 21 Dec 2007 21:58:42 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2130


stephentfisher@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from stephentfisher@xxxxxxxxx  2007-12-21 21:58 GMT -------
Thanks for your patch.  I have applied the second part (modifying the call to
stats_tree_register) as SVN revision 23935.  I removed the first part of the
patch that changes a 0 to NULL in a call to stats_tree_create_node because in
C, GLib defines NULL to be a pointer and the function is looking for a normal
int:

GLib 2.14.4 glib/gmacros.h:

     #ifndef NULL
     #  ifdef __cplusplus
     #    define NULL        (0L)
     #  else /* !__cplusplus */
     #    define NULL        ((void*) 0)
     #  endif /* !__cplusplus */
     #endif


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.