[USER32]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 30 Aug 2013 10:25:16 +0000 (10:25 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 30 Aug 2013 10:25:16 +0000 (10:25 +0000)
* Fix some print specifiers.

svn path=/trunk/; revision=59898

reactos/win32ss/user/user32/misc/stubs.c
reactos/win32ss/user/user32/windows/dialog.c

index 0b95c56..9e1ffc7 100644 (file)
@@ -41,7 +41,7 @@ VOID
 WINAPI
 SetDebugErrorLevel( DWORD dwLevel )
 {
-    DbgPrint("(%ld): stub\n", dwLevel);
+    DbgPrint("(%lu): stub\n", dwLevel);
 }
 
 
index 0df3dd3..1f78436 100644 (file)
@@ -285,7 +285,7 @@ static const WORD *DIALOG_GetControl32( const WORD *p, DLG_CONTROL_INFO *info,
         info->windowName = HeapAlloc( GetProcessHeap(), 0, sizeof(L"#65535") );
         if (info->windowName != NULL)
         {
-            wsprintf((LPWSTR)info->windowName, L"#%d", GET_WORD(p + 1));
+            wsprintf((LPWSTR)info->windowName, L"#%u", GET_WORD(p + 1));
             info->windowNameFree = TRUE;
         }
         else