[MPlayer-dev-eng] Re: [PATCH] loader compiler warnings

adland adland123 at yahoo.com
Thu Apr 8 22:31:37 CEST 2004


> 
> Problem:
> win32.c:3642: warning: assignment discards
qualifiers from pointer target type
> static DWORD WINAPI expGetFullPathNameA
> (
> ->      LPCTSTR lpFileName,
>         DWORD nBufferLength,
>         LPTSTR lpBuffer,
>         LPTSTR lpFilePart
> ){

reply

see wine code
in dlls/kernel/path.c function is defined as
DWORD WINAPI GetFullPathNameA( LPCSTR name, DWORD len,
LPSTR buffer, LPSTR *lastpart )

patch with my suggested change for this function

comments?

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loader_patch.gz
Type: application/x-gzip
Size: 452 bytes
Desc: loader_patch.gz
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040408/8a8afd9e/attachment.bin>


More information about the MPlayer-dev-eng mailing list