1 | for(u8 i = 33; i < 127; i++) { ... } |
1 2 3 | (char)i -> Expected integral or floating point type (char*)&i -> 0x000000040B054F670 "!" *(char*)&i -> ! |
Lowy
In this snippet of code:
1 for(u8 i = 33; i < 127; i++) { ... }
The iterator is going through all printable classical ASCII characters.
If i try to look at the character currently used in the watch window I'll have to cast the variable to char. Doing so produces the error in the Value column. Casting from the pointer type works correctly.
1 2 3 (char)i -> Expected integral or floating point type (char*)&i -> 0x000000040B054F670 "!" *(char*)&i -> !