mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
intel/aubinator: fix 32bit shift overflow warning
Doesn't look like this can work on 32bit, just rids of annoying warning. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
This commit is contained in:
parent
3a1b15c392
commit
b58d1eecc6
1 changed files with 1 additions and 1 deletions
|
|
@ -1297,7 +1297,7 @@ int main(int argc, char *argv[])
|
|||
file = aub_file_open(input_file);
|
||||
|
||||
/* mmap a terabyte for our gtt space. */
|
||||
gtt_size = 1ul << 40;
|
||||
gtt_size = 1ull << 40;
|
||||
gtt = mmap(NULL, gtt_size, PROT_READ | PROT_WRITE,
|
||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0);
|
||||
if (gtt == MAP_FAILED) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue