X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/19304f7c526fbe36ba0db2fb80bcaf3bd974d81d..5f2a574d6c8989bc7f90612704e3e5f255b5cb58:/snprintf.c diff --git a/snprintf.c b/snprintf.c index 827b362..d370939 100644 --- a/snprintf.c +++ b/snprintf.c @@ -340,6 +340,7 @@ static int dopr (char *buffer, size_t maxlen, const char *format, va_list args) fmtstr (buffer, &currlen, maxlen, strvalue, flags, min, max); break; case 'p': + flags |= DP_F_UNSIGNED; strvalue = va_arg (args, void *); fmtint (buffer, &currlen, maxlen, (long) strvalue, 16, min, max, flags); break;