gallium/os: Use unsigned integers for size computation
authorAxel Davy <axel.davy@ens.fr>
Tue, 11 Oct 2016 16:57:17 +0000 (18:57 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 13 Oct 2016 19:16:35 +0000 (21:16 +0200)
commit197cdd1bbdafaf44dc705e518987a08953b092ab
tree4f12c1eb710703b7e1a67b19d3569b3d2a2ee786
parent452722216954c95f0a8ca1f2a610185ae0bd2a63
gallium/os: Use unsigned integers for size computation

Use uint64_t instead of int64_t in the calculation,
as the result is uint64_t.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/os/os_misc.c