Versions Compared

Key

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

...

By ommiting the explicit cast to a pointer, the compiler will realise can determine that an int is attempting to be assigned to a pointer type and will generate a warning which may easily be corrected.

...