|
|
|
|
|
by xscott
1071 days ago
|
|
> I don't think that C actually forbids this code: *(int*)0x12345678
If not, give it time. It was only a few years ago when you were allowed to use a union for that kind of thing. I really believe they'll eventually make everything except unsigned integers be UB."Oh, the code was never correct. You just got lucky before." |
|