Skip to content

Conversation

GravisZro
Copy link

@GravisZro GravisZro commented Jun 29, 2025

Update printf statements for printing pointers.

  • Replace x%xl with %p
  • Remove pointer casts to (unsigned long)

Update string literals

  • Use string literal concatenation to make a series of printf statements into just one
  • Use raw string literal for long multiline string

Update printf statements for printing pointers.
* Replace `x%xl` with `%p`
* Remove pointer casts to `(unsigned long)`
* Many lines in a row print a single concatonated string, remove extra printf calls
* A large section just prints out a bunch of pre formatted text using a
  LOT of lines of printf which have been replaced with a raw string literal.
@GravisZro GravisZro changed the title Modernize printf statements Modernize: printf statements Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant