mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 02:10:17 +01:00
i965: perf: fix pointer to integer cast
v2: Just use cast to uintptr_t (Chris) Reported-by: Mauro Rossi <issor.oruam@gmail.com> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
55be6653e0
commit
6d2e912cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -833,7 +833,7 @@ open_i915_perf_oa_stream(struct brw_context *brw,
|
|||
I915_PERF_FLAG_FD_NONBLOCK |
|
||||
I915_PERF_FLAG_DISABLED,
|
||||
.num_properties = ARRAY_SIZE(properties) / 2,
|
||||
.properties_ptr = (uint64_t)properties
|
||||
.properties_ptr = (uintptr_t) properties,
|
||||
};
|
||||
int fd = drmIoctl(drm_fd, DRM_IOCTL_I915_PERF_OPEN, ¶m);
|
||||
if (fd == -1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue