From 0ddf408f17cee58d643f4fd2f683f6530f5027af Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 22 Apr 2014 11:41:07 +0200 Subject: Fix compiler warnings: get rid of deprecated IOADDRESS For newer ABI versions IOADDRESS can be replaced by int which is big enough to hold an PIO offset. Signed-off-by: Egbert Eich Acked-by: Y.C. Chen --- src/ast.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index cbe62fb..3b56a6c 100644 --- a/src/ast.h +++ b/src/ast.h @@ -261,9 +261,11 @@ typedef struct _ASTRec { unsigned long FbMapSize; unsigned long MMIOMapSize; - IOADDRESS IODBase; /* Base of PIO memory area */ - IOADDRESS PIOOffset; +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12 IOADDRESS RelocateIO; +#else + int RelocateIO; +#endif VIDEOMODE VideoModeInfo; ASTRegRec SavedReg; -- cgit v1.2.3