X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/19304f7c526fbe36ba0db2fb80bcaf3bd974d81d..73c09bc56e79605cf421a31c7e36958422055a20:/snprintf.c?ds=sidebyside 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;