CVS: winex/dlls/kernel toolhelp.c,1.7,1.8
[email protected] 12 Sep 2007 12:24:06 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/dlls/kernel toolhelp.c,1.7,1.8Update of /var/lib/cvsd/cvsroot/winex/dlls/kernel
In directory agravaine:/tmp/cvs-serv9091/dlls/kernel
Modified Files:
toolhelp.c
Log Message:
- fixed several printf warnings
- prevented some non-strings from being printed as strings in psapi
Index: toolhelp.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/kernel/toolhelp.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- toolhelp.c 28 Mar 2007 14:22:03 -0000 1.7
+++ toolhelp.c 12 Sep 2007 12:24:04 -0000 1.8
@@ -227,7 +227,7 @@
if (lpte->dwSize < sizeof(THREADENTRY32))
{
SetLastError( ERROR_INSUFFICIENT_BUFFER );
- ERR("Result buffer too small (req: %d, was: %ld)\n", sizeof(THREADENTRY32), lpte->dwSize);
+ ERR("Result buffer too small (req: %lu, was: %ld)\n", sizeof(THREADENTRY32), lpte->dwSize);
return FALSE;
}
SERVER_START_REQ( next_thread )
@@ -280,7 +280,7 @@
if (lppe->dwSize < sizeof(PROCESSENTRY32))
{
SetLastError( ERROR_INSUFFICIENT_BUFFER );
- ERR("Result buffer too small (req: %d, was: %ld)\n", sizeof(PROCESSENTRY32), lppe->dwSize);
+ ERR("Result buffer too small (req: %lu, was: %ld)\n", sizeof(PROCESSENTRY32), lppe->dwSize);
return FALSE;
}
SERVER_START_REQ( next_process )
@@ -340,7 +340,7 @@
if (lpme->dwSize < sizeof (MODULEENTRY32))
{
SetLastError( ERROR_INSUFFICIENT_BUFFER );
- ERR("Result buffer too small (req: %d, was: %ld)\n", sizeof(MODULEENTRY32), lpme->dwSize);
+ ERR("Result buffer too small (req: %lu, was: %ld)\n", sizeof(MODULEENTRY32), lpme->dwSize);
return FALSE;
}
SERVER_START_REQ( next_module )