Skip to content
  • Chris Wilson's avatar
    lib/batch: Trivial compile fix for 32-bit builds · 233808a5
    Chris Wilson authored
    
    
    intel_batchbuffer.c: In function 'fill_object':
    intel_batchbuffer.c:589:20: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      obj->relocs_ptr = (uint64_t)relocs;
                        ^
    intel_batchbuffer.c: In function 'exec_blit':
    intel_batchbuffer.c:598:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      exec.buffers_ptr = (uint64_t)objs;
    
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    233808a5