diff options
author | obrien <obrien@FreeBSD.org> | 2004-03-03 06:18:29 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-03-03 06:18:29 +0000 |
commit | 7aec91557a8c31974a0de5c2d3e90bf2579300d4 (patch) | |
tree | a2a919824817a6919408d9564f39c4ee7428e3cd /sys/dev/drm/drm_vm.h | |
parent | d1a09954e4cb2b118ea1bea43b2befd944d285b8 (diff) | |
download | FreeBSD-src-7aec91557a8c31974a0de5c2d3e90bf2579300d4.zip FreeBSD-src-7aec91557a8c31974a0de5c2d3e90bf2579300d4.tar.gz |
Cast thru intptr_t on the way to void* for success on 64-bit platforms.
Diffstat (limited to 'sys/dev/drm/drm_vm.h')
-rw-r--r-- | sys/dev/drm/drm_vm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_vm.h b/sys/dev/drm/drm_vm.h index 9d3bb98..706f4eb 100644 --- a/sys/dev/drm/drm_vm.h +++ b/sys/dev/drm/drm_vm.h @@ -68,7 +68,7 @@ paddr_t DRM(mmap)(dev_t kdev, off_t offset, int prot) drm_map_list_entry_t *listentry = NULL; drm_file_t *priv; - DRM_GET_PRIV_WITH_RETURN(priv, (DRMFILE)DRM_CURRENTPID); + DRM_GET_PRIV_WITH_RETURN(priv, (DRMFILE)(intptr_t)DRM_CURRENTPID); if (!priv->authenticated) return DRM_ERR(EACCES); |