From 8aaf82d45c406220d5f18168e4350827a9e038e2 Mon Sep 17 00:00:00 2001 From: Jeff Hartmann Date: Tue, 14 Aug 2001 00:35:07 +0000 Subject: A few warning fixes when actually building under 2.4.9-pre2 + some reformating --- linux-core/drmP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drmP.h') diff --git a/linux-core/drmP.h b/linux-core/drmP.h index f0a7ebf4..aac5c58a 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -78,7 +78,7 @@ /* page_to_bus for earlier kernels, not optimal in all cases */ #ifndef page_to_bus -#define page_to_bus(page) (virt_to_bus(page_address(page))) +#define page_to_bus(page) ((unsigned int)(virt_to_bus(page_address(page)))) #endif /* DRM template customization defaults -- cgit v1.2.3