------- Comment #2 from sebor at roguewave dot com 2007-09-12 03:56 ------- (In reply to comment #1) > This is not a bug, 0 will be pasted as the same size as an int which means it > will most likely not be passed as the same size as a NULL pointer.
I don't know about "most likely." sizeof(int) == sizeof(void*) is still pretty common, so my guess would be that the warning is more often wrong than not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33403