summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2002-09-26 07:21:05 +0000
committerEric Anholt <anholt@freebsd.org>2002-09-26 07:21:05 +0000
commit770d045d25728be51534b930afdfa36f3ffddbfc (patch)
treebd9a3bf01076f917bf4a91cfd78cb13d6b914a25
parentf40674ea9f3e3c17d632de90d7e35da5640a55b2 (diff)
Fix one warning.
-rw-r--r--bsd-core/drm_agpsupport.c2
-rw-r--r--bsd/drm_agpsupport.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsd-core/drm_agpsupport.c b/bsd-core/drm_agpsupport.c
index 66de1053..a940378e 100644
--- a/bsd-core/drm_agpsupport.c
+++ b/bsd-core/drm_agpsupport.c
@@ -262,7 +262,7 @@ drm_agp_head_t *DRM(agp_init)(void)
}
#endif
DRM_INFO("AGP at 0x%08lx %dMB\n",
- head->info.ai_aperture_base,
+ (long)head->info.ai_aperture_base,
(int)(head->info.ai_aperture_size >> 20));
}
return head;
diff --git a/bsd/drm_agpsupport.h b/bsd/drm_agpsupport.h
index 66de1053..a940378e 100644
--- a/bsd/drm_agpsupport.h
+++ b/bsd/drm_agpsupport.h
@@ -262,7 +262,7 @@ drm_agp_head_t *DRM(agp_init)(void)
}
#endif
DRM_INFO("AGP at 0x%08lx %dMB\n",
- head->info.ai_aperture_base,
+ (long)head->info.ai_aperture_base,
(int)(head->info.ai_aperture_size >> 20));
}
return head;