CWv8 byte pointer

Discussion created by Alexey on Jan 23, 2007
Latest reply on Jan 29, 2007 by Alban Rampon
I use CW for 56800E. In the following line I try to store address in bytes of name2 into var_addr (e.g. if name2 address 0x13b -> var_addr=0x276).
const int var_addr = (const int)((byte*)&name2);
In version 7.3 this code works fine
In version 8 (byte*) convertion seems to be ignored and in var_addr is word pointer (i.e. 0x13b)
Is this a compiler bug or I missed something?