Mike Mansheim email (remove spam text)
>> On an old version of MPLAB-C (1.1) you could do something like this:
>> unsigned int flashadd = 0x8000;
>> unsigned long far *frdaddr;
>> frdaddr = flashadd;
from Richard Sloan:
>frdaddr = flashadd;
> should be
>frdaddr = (unsigned long*)flashadd;
>The compiler is now more strict on type checking.
This will still result in frdaddr = 0.
Is that the intended result?
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
See also: www.piclist.com/techref/microchip/ios.htm?key=port
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the