summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/amd
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-12-25 11:42:06 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-12-25 11:42:06 +0000
commit80787cf0927a54f3cdfe663edda2e28927c7db84 (patch)
tree699fb100a53eebc0e5f1a5c4a4b4d80ddf7d729b /sys/dev/pci/drm/amd
parent2af882cf362e2c94b359bdcc131860a50d263710 (diff)
WSDISPLAYIO_GTYPE is u_int not int
Diffstat (limited to 'sys/dev/pci/drm/amd')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
index 02a90069f8d..619e8289840 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
@@ -1639,7 +1639,7 @@ amdgpu_wsioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(int *)data = WSDISPLAY_TYPE_RADEONDRM;
+ *(u_int *)data = WSDISPLAY_TYPE_RADEONDRM;
return 0;
case WSDISPLAYIO_GINFO:
wdf = (struct wsdisplay_fbinfo *)data;