why does the following line:
pref=(struct Preferences *)malloc((unsigned)sizeof(struct Preferences)); give
me a ptr/int conversion error in aztec 3.6 with pref global as
struct Preferences *pref; thanks
The easiest way to get around this problem is to #include <functions.h> which
contains the correct return values for all the functions. If you do not want
to do this you should use extern VOID *malloc(); which will allow you to
assign the pointer from malloc to any pointer variable. -msl-