On 1 November 2017 at 11:40, Stefan Dösinger stefandoesinger@gmail.com wrote:
Am 2017-10-31 um 22:30 schrieb Fabian Maurer:
What about enums/LONG/int, is this all "%d"?
My gut feeling says yes, although I am not entirely sure myself.
It depends on the usage. For enums I'd say %#x by default, but for some a debug helper function (%s), %u or %d could make sense. For e.g. int, %d may make sense for a display coordinate, but %#x may be more appropriate for a file or memory offset.