Fix one warning.
authorEric Anholt <anholt@freebsd.org>
Thu, 26 Sep 2002 07:21:05 +0000 (07:21 +0000)
committerEric Anholt <anholt@freebsd.org>
Thu, 26 Sep 2002 07:21:05 +0000 (07:21 +0000)
bsd-core/drm_agpsupport.c
bsd/drm_agpsupport.h

index 66de105..a940378 100644 (file)
@@ -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;
index 66de105..a940378 100644 (file)
@@ -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;