mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 06:00:14 +01:00
intel: cast a pointer to unsigned long, avoid potential error.
This commit is contained in:
parent
bea6b5fe5a
commit
f8830a1bf7
2 changed files with 2 additions and 2 deletions
|
|
@ -157,7 +157,7 @@ intel_exec_ioctl(struct intel_context *intel,
|
|||
execbuf.batch.DR4 = ((((GLuint) intel->drawX) & 0xffff) |
|
||||
(((GLuint) intel->drawY) << 16));
|
||||
|
||||
execbuf.ops_list = (unsigned)start; // TODO
|
||||
execbuf.ops_list = (unsigned long)start; // TODO
|
||||
execbuf.fence_arg.flags = DRM_FENCE_FLAG_SHAREABLE | DRM_I915_FENCE_FLAG_FLUSHED;
|
||||
|
||||
if (drmCommandWriteRead(intel->driFd, DRM_I915_EXECBUFFER, &execbuf,
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ intel_exec_ioctl(struct intel_context *intel,
|
|||
execbuf.batch.DR4 = ((((GLuint) intel->drawX) & 0xffff) |
|
||||
(((GLuint) intel->drawY) << 16));
|
||||
|
||||
execbuf.ops_list = (unsigned)start; // TODO
|
||||
execbuf.ops_list = (unsigned long)start; // TODO
|
||||
execbuf.fence_arg.flags = DRM_FENCE_FLAG_SHAREABLE | DRM_I915_FENCE_FLAG_FLUSHED;
|
||||
|
||||
if (intel->no_hw)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue