Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!cornell!vax5.cit.cornell.edu!kzyx From: kzyx@vax5.cit.cornell.edu Newsgroups: comp.sys.amiga.tech Subject: Pointer Initialization Message-ID: <1990Dec24.152533.1770@vax5.cit.cornell.edu> Date: 24 Dec 90 19:25:33 GMT Distribution: comp Lines: 28 Hello there, What is the correct way to initialize a structure pointer to access the hardware under ANSI (Aztec C 5.0d) say: #define ADDRESS (0xAAAAAAL) /* for the sake of example */ struct myblitterstruct *myblitterpointer; main() $ . . . *myblitterpointer = ADDRESS; /* I get invalid ptr/int conv... */ Your help is extremely appreciated Thanks Edval