summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;