diff options
author | Erik Faye-Lund <[email protected]> | 2019-08-13 13:01:42 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-08-15 20:23:49 +0200 |
commit | 0091f62978b26e89e8c0581552b4b91667c658fd (patch) | |
tree | f4d9f9486dffe24bc674676a369b3c507a5958f6 /src/gtest | |
parent | 544b0886165ff891bda59f9bd4ec058f8af53e5a (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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions