Re: warning: initialization makes integer from pointer without a cast

2006-04-01 Thread Rajath N R
r > software. > > > warning: initialization makes integer from pointer without a cast > > Yup. > > > ...for the line with a NULL. My immediate inclination was to > > substitute '0' for the NULL which does indeed eliminate the > > warning. > > Ick. > >

Re: warning: initialization makes integer from pointer without a cast

2006-03-28 Thread Mike Stump
On Mar 28, 2006, at 1:41 PM, Jack Howarth wrote: I do have one other issue to resolve in this legacy c code which I am unclear on. Wrong list. This list is for the development of gcc, not other software. warning: initialization makes integer from pointer without a cast Yup. ...for

warning: initialization makes integer from pointer without a cast

2006-03-28 Thread Jack Howarth
BNDTYP_OTHER, "other", BNDTYP_TRIANGLE,"triang", NULL }; where the compiler issuing the warning of... warning: initialization makes integer from pointer without a cast ...for the line with a NULL. My immediate inclination was to substitute '0' for the NULL which does indeed eliminate the warning. Is there a more appropriate fix? Jack