Menu

#2 Assignment makes integer from pointer without cast

open
nobody
None
5
2004-12-22
2004-12-22
No

Version: 1.2
File: src/ctrace.c
Line: 742
Function: trc_varargs

// This is assigning (void*)0 to a char
t->fmt[0] = NULL;

// Should probably be this
t->fmt[0] = 0;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB