On Thu, 8 Feb 2018 10:22:40 -0600, Allan Kielstra wrote:

>The size of a char in 1 byte.  Try
>
>(char *) ASXB = (char *) ASCB + 0x6c;  /* lazy version */
> 
ANSI says a cast may not be used as an L-value.  IBM's C compiler
enforces this.  I once did something like (IIRC?):
    *(char * *) ASXB += 0x6c;

My head hurts.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to