X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/19304f7c526fbe36ba0db2fb80bcaf3bd974d81d..84b9ea1689a8189d41ea4a821a1fd6cc446b9332:/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;