diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-03-17 05:10:12 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-03-17 05:10:12 +0000 |
commit | b18e0f5075c06e2307305dbd400a30373392860c (patch) | |
tree | b1c0ab51309d491bee6cd18182c2db3d51db30eb | |
parent | 6c3703e6cd1897a3a8f3a430408b93b5e4ffdd29 (diff) | |
download | FreeBSD-src-b18e0f5075c06e2307305dbd400a30373392860c.zip FreeBSD-src-b18e0f5075c06e2307305dbd400a30373392860c.tar.gz |
Cast to (unsigned long) to make printf happy on i386
MFC after: 3 days
-rw-r--r-- | sys/dev/drm/drm_vm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/drm/drm_vm.c b/sys/dev/drm/drm_vm.c index a61898a..e2a5338 100644 --- a/sys/dev/drm/drm_vm.c +++ b/sys/dev/drm/drm_vm.c @@ -87,10 +87,11 @@ int drm_mmap(struct cdev *kdev, vm_offset_t offset, vm_paddr_t *paddr, if (map == NULL) { DRM_DEBUG("Can't find map, requested offset = %016lx\n", - offset); + (unsigned long)offset); TAILQ_FOREACH(map, &dev->maplist, link) { DRM_DEBUG("map offset = %016lx, handle = %016lx\n", - map->offset, (unsigned long)map->handle); + (unsigned long)map->offset, + (unsigned long)map->handle); } DRM_UNLOCK(); return -1; |