mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 21:01:07 +00:00
ver.dll16: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fdc7a21748
commit
4690d5f020
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
MODULE = ver.dll16
|
MODULE = ver.dll16
|
||||||
IMPORTS = version lz32
|
IMPORTS = version lz32
|
||||||
|
|
||||||
|
|
|
@ -436,7 +436,7 @@ DWORD WINAPI GetFileResource16( LPCSTR lpszFileName, LPCSTR lpszResType,
|
||||||
OFSTRUCT ofs;
|
OFSTRUCT ofs;
|
||||||
DWORD reslen = dwResLen;
|
DWORD reslen = dwResLen;
|
||||||
|
|
||||||
TRACE("(%s,type=%p,id=%p,off=%d,len=%d,data=%p)\n",
|
TRACE("(%s,type=%p,id=%p,off=%ld,len=%ld,data=%p)\n",
|
||||||
debugstr_a(lpszFileName), lpszResType, lpszResId,
|
debugstr_a(lpszFileName), lpszResType, lpszResId,
|
||||||
dwFileOffset, dwResLen, lpvData );
|
dwFileOffset, dwResLen, lpvData );
|
||||||
|
|
||||||
|
@ -476,7 +476,7 @@ DWORD WINAPI GetFileVersionInfoSize16( LPCSTR filename, LPDWORD handle )
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI GetFileVersionInfo16( LPCSTR filename, DWORD handle, DWORD datasize, LPVOID data )
|
DWORD WINAPI GetFileVersionInfo16( LPCSTR filename, DWORD handle, DWORD datasize, LPVOID data )
|
||||||
{
|
{
|
||||||
TRACE("(%s, %08x, %d, %p)\n", debugstr_a(filename), handle, datasize, data );
|
TRACE("(%s, %08lx, %ld, %p)\n", debugstr_a(filename), handle, datasize, data );
|
||||||
|
|
||||||
return GetFileResource16( filename, (LPCSTR)RT_VERSION, (LPCSTR)VS_VERSION_INFO, 0, datasize, data );
|
return GetFileResource16( filename, (LPCSTR)RT_VERSION, (LPCSTR)VS_VERSION_INFO, 0, datasize, data );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue