[PATCH] base85: use z modifier to print Py_ssize_t

Matt Mackall mpm at selenic.com
Mon Jun 4 09:02:16 CDT 2012


On Mon, 2012-06-04 at 09:15 +0200, David Soria Parra wrote:
> -					"bad base85 character at position %d", i);
> +					"bad base85 character at position %zd", i);

Let's just cast to int here. If it outputs a nonsense value, no harm
done, it was nonsense to start with.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list