Commit feb1b39b authored by Rob Clark's avatar Rob Clark
Browse files

freedreno: fix warnings


Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
Tested-by: Rob Herring's avatarRob Herring <robh@kernel.org>
parent 1f1b61d4
......@@ -232,10 +232,10 @@ static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t fl
if (!drmHashLookup(msm_ring->bo_table, bo->handle, &val)) {
/* found */
idx = (uint32_t)val;
idx = (uint32_t)(uintptr_t)val;
} else {
idx = append_bo(ring, bo);
val = (void *)idx;
val = (void *)(uintptr_t)idx;
drmHashInsert(msm_ring->bo_table, bo->handle, val);
}
msm_bo->current_ring_seqno = msm_ring->seqno;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment