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.
>
>
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
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