Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is sometimes necessary in low level kernel or graphics code to access memory at a specific location, requiring a literal integer to pointer to conversion. In this non-compliant code, a pointer is set directly to an integer constant, where it is unknown whether the result will be as intended.

Code Block
bgColor#FFcccc
unsigned int *ptr = 0xcfcfcfcf;

...