From e9d3fc29c17ce3cb3f609e65de4b4852681ae4ef Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 16 Sep 2001 23:13:45 +0000 Subject: Update docs. Fixed some warnings. configure.in is ready for 0.9.1. CVS patchset: 646 CVS date: 2001/09/16 23:13:45 --- src/libw32dll/wine/ext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libw32dll/wine/ext.c') diff --git a/src/libw32dll/wine/ext.c b/src/libw32dll/wine/ext.c index 865ff73d9..85adbc203 100644 --- a/src/libw32dll/wine/ext.c +++ b/src/libw32dll/wine/ext.c @@ -133,9 +133,9 @@ LPSTR WINAPI lstrcpynWtoA(LPSTR dest, LPCWSTR src, INT count) int wcsnicmp(const unsigned short* s1, const unsigned short* s2, int n) { if(s1==0) - return; + return 0; if(s2==0) - return; + return 0; while(n>0) { if(*s1<*s2) @@ -303,7 +303,7 @@ int FILE_munmap( LPVOID start, DWORD size_high, DWORD size_low ) printf("offsets larger than 4Gb not supported\n"); return munmap( start, size_low ); } -static int mapping_size=0; +//static int mapping_size=0; struct file_mapping_s; typedef struct file_mapping_s @@ -475,7 +475,7 @@ void* WINAPI VirtualAlloc(void* address, DWORD size, DWORD type, DWORD protecti if(answer==(void*)-1) { printf("Error no %d\n", errno); - printf("VirtualAlloc(0x%08X, %d) failed\n", address, size); + printf("VirtualAlloc(0x%08X, %ld) failed\n", (int) address, size); return NULL; } else -- cgit v1.2.3