[ros-diffs] [sginsberg] 35007: - Fix 2 warnings
sginsberg at svn.reactos.org
sginsberg at svn.reactos.org
Fri Aug 1 16:19:05 CEST 2008
- Previous message: [ros-diffs] [sginsberg] 35006: - Fix my broken indentation
- Next message: [ros-diffs] [sginsberg] 35008: - PCHify Acledit, Beepmidi, Cards, Crtdll, Dhcpsvc, Lpk, Lsasrv, uext2, ufat, untfs, ws2help, wshtcpip, and wsock32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sginsberg
Date: Fri Aug 1 09:19:05 2008
New Revision: 35007
URL: http://svn.reactos.org/svn/reactos?rev=35007&view=rev
Log:
- Fix 2 warnings
Modified:
trunk/reactos/dll/win32/dbghelp/pe_module.c
Modified: trunk/reactos/dll/win32/dbghelp/pe_module.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/pe_module.c?rev=35007&r1=35006&r2=35007&view=diff
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/pe_module.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/pe_module.c [iso-8859-1] Fri Aug 1 09:19:05 2008
@@ -138,7 +138,7 @@
else
WINE_ERR("-Unable to peruse .DBG file %s (%s)\n", dbg_name, debugstr_a(tmp));
- if (dbg_mapping) UnmapViewOfFile(dbg_mapping);
+ if (dbg_mapping) UnmapViewOfFile((PVOID)dbg_mapping);
if (hMap) CloseHandle(hMap);
if (hFile != INVALID_HANDLE_VALUE) CloseHandle(hFile);
return ret;
@@ -266,7 +266,7 @@
for (j = 0; j < exports->NumberOfNames; j++)
if ((ordinals[j] == i) && names[j]) break;
if (j < exports->NumberOfNames) continue;
- snprintf(buffer, sizeof(buffer), "%d", i + exports->Base);
+ snprintf(buffer, sizeof(buffer), "%lu", i + exports->Base);
symt_new_public(module, NULL, buffer, base + (DWORD)functions[i], 1,
TRUE /* FIXME */, TRUE /* FIXME */);
}
- Previous message: [ros-diffs] [sginsberg] 35006: - Fix my broken indentation
- Next message: [ros-diffs] [sginsberg] 35008: - PCHify Acledit, Beepmidi, Cards, Crtdll, Dhcpsvc, Lpk, Lsasrv, uext2, ufat, untfs, ws2help, wshtcpip, and wsock32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list