summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.(none)>2008-04-27 09:42:17 -0700
committerJesse Barnes <jbarnes@hobbes.(none)>2008-04-27 09:42:17 -0700
commit7f8e4060859651993921281445ec00940c577222 (patch)
tree33c8d10bfa533fe0eac783e16358f7c11f3d05ec /shared-core
parentb45fe49bcd989be4e1327c13dd734410b395761c (diff)
Use fixed sized types in new ioctls
Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat issues.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index da149dca..52b01cd1 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -565,8 +565,8 @@ union drm_wait_vblank {
* \sa drmModesetCtl().
*/
struct drm_modeset_ctl {
- unsigned long arg;
- int cmd;
+ uint32_t crtc;
+ uint32_t cmd;
};
/**