From ffc103b06affff961287e887662c78ae3ad92082 Mon Sep 17 00:00:00 2001 From: faust3 Date: Thu, 2 Oct 2003 14:48:17 +0000 Subject: port libdha to mingw git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10981 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libdha/sysdep/libdha_win32.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libdha/sysdep/libdha_win32.c') diff --git a/libdha/sysdep/libdha_win32.c b/libdha/sysdep/libdha_win32.c index 75c5dfb942..e19a224a4c 100644 --- a/libdha/sysdep/libdha_win32.c +++ b/libdha/sysdep/libdha_win32.c @@ -5,7 +5,6 @@ */ #include - /* This is the request structure that applications use to request services from the MAPDEV VxD. @@ -34,7 +33,7 @@ typedef struct _MapDevRequest ((DeviceType)<<16) | ((Access)<<14) | ((Function)<<2) | (Method) ) /* Memory Map a piece of Real Memory */ -void *map_phys_mem(unsigned base, unsigned size) { +void *map_phys_mem(unsigned long base, unsigned long size) { HANDLE hDevice ; PVOID inBuf[1] ; /* buffer for struct pointer to VxD */ @@ -66,5 +65,4 @@ void *map_phys_mem(unsigned base, unsigned size) { return (void*)req.mdr_LinearAddress ; } -void unmap_phys_mem(void *ptr, unsigned size) { } - +void unmap_phys_mem(void *ptr, unsigned long size) { } -- cgit v1.2.3