From 770d045d25728be51534b930afdfa36f3ffddbfc Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 26 Sep 2002 07:21:05 +0000 Subject: Fix one warning. --- bsd-core/drm_agpsupport.c | 2 +- bsd/drm_agpsupport.h | 2 +- 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; -- cgit v1.2.3