How to write ANY value

Guest #2074113
Rate this post
useful
not useful
I guess
1
*p = (proper cast here)p
 should do it in RISC load/store type architectures. They need the 
pointer in a register to store to it, so storing the pointer itself 
would not require an extra load or register.

Even with a cast I still get conversion warnings when the pointer is 
cast to a smaller type however.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now