Stefan Ginsberg <stefan__100__@hotmail.com>:

- Make user32 and kernel32 compile warning-free.

svn path=/trunk/; revision=34063
This commit is contained in:
Aleksey Bragin 2008-06-23 18:57:10 +00:00
parent f99a2998d3
commit 0f6b71ad04
5 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
<group>
<module name="kernel32_base" type="objectlibrary" allowwarnings="true">
<module name="kernel32_base" type="objectlibrary">
<include base="kernel32_base">.</include>
<include base="kernel32_base">include</include>
<include base="ReactOS">include/reactos/subsys</include>
@ -136,4 +136,4 @@
<linkerflag>-nostdlib</linkerflag>
<file>kernel32.rc</file>
</module>
</group>
</group>

View file

@ -294,7 +294,7 @@ static __inline int PROFILE_isspaceW(WCHAR c)
static __inline ENCODING PROFILE_DetectTextEncoding(const void * buffer, int * len)
{
DWORD flags = IS_TEXT_UNICODE_SIGNATURE |
INT flags = IS_TEXT_UNICODE_SIGNATURE |
IS_TEXT_UNICODE_REVERSE_SIGNATURE |
IS_TEXT_UNICODE_ODD_LENGTH;
if (*len >= (int)sizeof(bom_utf8) && !memcmp(buffer, bom_utf8, sizeof(bom_utf8)))

View file

@ -37,7 +37,7 @@ _SwitchToFiber@4:
fstcw [eax+FIBER_CONTEXT_FLOAT_SAVE_CONTROL_WORD]
/* Check if the CPU supports SIMD MXCSR State Save */
cmp byte ptr [PROCESSOR_FEATURE_FXSR], 0
cmp byte ptr ds:[PROCESSOR_FEATURE_FXSR], 0
jnz NoFpuStateSave
stmxcsr [eax+FIBER_CONTEXT_DR6]
@ -101,7 +101,7 @@ StatusWordChanged:
ControlWordEqual:
/* Load the new one */
cmp byte ptr [PROCESSOR_FEATURE_FXSR], 0
cmp byte ptr ds:[PROCESSOR_FEATURE_FXSR], 0
jnz NoFpuStateRestore
ldmxcsr [ecx+FIBER_CONTEXT_DR6]

View file

@ -1,4 +1,4 @@
<module name="user32" type="win32dll" baseaddress="${BASEADDRESS_USER32}" installbase="system32" installname="user32.dll" allowwarnings="true" unicode="yes">
<module name="user32" type="win32dll" baseaddress="${BASEADDRESS_USER32}" installbase="system32" installname="user32.dll" unicode="yes">
<importlibrary definition="user32.def" />
<include base="user32">.</include>
<include base="user32">include</include>

View file

@ -86,7 +86,7 @@ GetClipboardData(UINT uFormat)
/* dealing with bitmap object */
if (uFormat != CF_BITMAP)
{
size = (DWORD)NtUserGetClipboardData(uFormat, QUERY_SIZE);
size = (DWORD)NtUserGetClipboardData(uFormat, NULL);
if (size)
{
@ -100,7 +100,7 @@ GetClipboardData(UINT uFormat)
}
else
{
hGlobal = NtUserGetClipboardData(CF_BITMAP, !QUERY_SIZE);
hGlobal = NtUserGetClipboardData(CF_BITMAP, NULL);
}
return hGlobal;