[Mesa-dev] [PATCH 2/2] mesa: Fix printf format specifier warn of the ptrdiff_t

Ilia Mirkin imirkin at alum.mit.edu
Wed Jul 29 19:23:54 PDT 2015

On Wed, Jul 29, 2015 at 10:18 PM, Edward O'Callaghan
<edward.ocallaghan at koparo.com> wrote:
> On Thu, Jul 30, 2015, at 09:53 AM, Ilia Mirkin wrote:
>> I assume that you mean the C99 spec? I don't think MSVC supports %t or %z
>> :(
> Correct, why not it is standard C99 sounds like a compiler bug to me if
> that is really the case :/

Be that as it may, it does get used to build the code, and so the core
code has to work with it. Driver code (except swrast) doesn't matter.

I believe the usual way to fix it is just to do %ll and typecast to long long.


More information about the mesa-dev mailing list