summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-03-17 05:10:12 +0000
committerrnoland <rnoland@FreeBSD.org>2009-03-17 05:10:12 +0000
commitb18e0f5075c06e2307305dbd400a30373392860c (patch)
treeb1c0ab51309d491bee6cd18182c2db3d51db30eb
parent6c3703e6cd1897a3a8f3a430408b93b5e4ffdd29 (diff)
downloadFreeBSD-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.c5
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;
OpenPOWER on IntegriCloud