Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libdrm/dist/amdgpu fix compilation
details: https://anonhg.NetBSD.org/xsrc/rev/c2900cf42217
branches: trunk
changeset: 10090:c2900cf42217
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 11 02:34:53 2019 +0000
description:
fix compilation
diffstat:
external/mit/libdrm/dist/amdgpu/amdgpu_bo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e026d3c9be82 -r c2900cf42217 external/mit/libdrm/dist/amdgpu/amdgpu_bo.c
--- a/external/mit/libdrm/dist/amdgpu/amdgpu_bo.c Thu Jan 10 16:48:37 2019 +0000
+++ b/external/mit/libdrm/dist/amdgpu/amdgpu_bo.c Fri Jan 11 02:34:53 2019 +0000
@@ -567,7 +567,7 @@
if (!bo || !bo->cpu_ptr || size > bo->alloc_size)
continue;
if (cpu >= bo->cpu_ptr &&
- cpu < (void*)((uintptr_t)bo->cpu_ptr + bo->alloc_size))
+ cpu < (void*)((char *)bo->cpu_ptr + bo->alloc_size))
break;
}
Home |
Main Index |
Thread Index |
Old Index