> But it don't works: > > volatile rom unsigned int * taskdesc_addr = (volatile rom unsigned int *) ((&descromarea) + 1); > > Some idea to solve it?
How about: volatile rom unsigned int * taskdesc_addr = ((volatile rom unsigned int *) (&descromarea)) + 1; Mary-Ann ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
