]> diplodocus.org Git - nmh/commit
Print pointers in debug with C99's `%p' rather than `0x%x'.
authorRalph Corderoy <ralph@inputplus.co.uk>
Fri, 25 Aug 2017 21:36:01 +0000 (22:36 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 26 Aug 2017 07:36:01 +0000 (08:36 +0100)
commite605596f06f250775f89ddfe3f7f2c8fcfda1c4e
tree17fa5c3048afb3cc886e0b614f62a0d3a08200ca
parent07916b2ff52cb94f26d6e09867c086d0da3c6433
Print pointers in debug with C99's `%p' rather than `0x%x'.

The `%x' needed a double cast, the `%p' needs just a single to void
pointer.  The output can differ, e.g. `0x0' v. perhaps
implementation-defined `(nil)'.
uip/mhlistsbr.c
uip/mhlsbr.c