diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-09-16 23:13:45 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-09-16 23:13:45 +0000 |
commit | e9d3fc29c17ce3cb3f609e65de4b4852681ae4ef (patch) | |
tree | ff2fb443ecdb4aea8b09bb3962550349d1a0946d /src/libw32dll/wine/ext.c | |
parent | 2668bd55a5f40bffd5a15cbf1915fa96d328e931 (diff) | |
download | xine-lib-e9d3fc29c17ce3cb3f609e65de4b4852681ae4ef.tar.gz xine-lib-e9d3fc29c17ce3cb3f609e65de4b4852681ae4ef.tar.bz2 |
Update docs. Fixed some warnings. configure.in is ready for 0.9.1.
CVS patchset: 646
CVS date: 2001/09/16 23:13:45
Diffstat (limited to 'src/libw32dll/wine/ext.c')
-rw-r--r-- | src/libw32dll/wine/ext.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |