commit | 1e21bb41233c4c4abe95f734f815a7e415ad7e19 | [log] [tgz] |
---|---|---|
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | Mon Aug 05 17:29:22 2019 +0200 |
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | Thu Aug 08 18:20:29 2019 +0200 |
tree | 66c39ffc5621ce7aabf4b225f75d67560bdee82e | |
parent | e0a740c633da5d8f2b6040f7ef4929c95539aed8 [diff] |
mesa: avoid warning on Windows On Windows, p_atomic_inc_return returns an unsigned long long rather than the type the pointer refers to, so let's make sure we cast the result to the right type. Otherwise, we'll trigger a warning about the wrong format-string for the type. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Eric Engestrom <eric@engestrom.ch>