Commit 752fdc33 authored by Micha Lenk's avatar Micha Lenk
Browse files

Fix APR format strings for use on 64 bit systems

APR's implementation of format strings does not support %llu on 64 bit systems.
But apparently using %lu works equally well without any need for type casts.

Also APR's implementation does not support %p properly. Up to now we resorted
to using %x and casting the pointer to an unsigned int. On 64 bit systems would
only output 32 bit of the pointer address. This is fixed by using %pp
(apparently the APR replacement for %p).

Fixes #2
parent 25cf1498
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment