From 5e8f9c7aff05641211f60c1e4976f2e230924c1e Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 22 Aug 2006 20:21:56 +0100 Subject: [PATCH] libwine: Cast-qual warning fix. --- libs/wine/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/wine/loader.c b/libs/wine/loader.c index 4406a32f939..abf428df934 100644 --- a/libs/wine/loader.c +++ b/libs/wine/loader.c @@ -362,7 +362,7 @@ static void *map_dll( const IMAGE_NT_HEADERS *nt_descr ) *nt = *nt_descr; - delta = (BYTE *)nt_descr - addr; + delta = (const BYTE *)nt_descr - addr; code_start = page_size; data_start = delta & ~page_mask; data_end = (nt->OptionalHeader.SizeOfImage + delta + page_mask) & ~page_mask;