Author: tkreuzer
Date: Wed Feb 29 15:34:43 2012
New Revision: 55919
URL:
http://svn.reactos.org/svn/reactos?rev=55919&view=rev
Log:
[GDI32]
Fix MSVC warnings
Modified:
trunk/reactos/dll/win32/gdi32/include/gdi32p.h
Modified: trunk/reactos/dll/win32/gdi32/include/gdi32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/include/gd…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/include/gdi32p.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/include/gdi32p.h [iso-8859-1] Wed Feb 29 15:34:43 2012
@@ -378,15 +378,15 @@
_lrintf(float f)
{
#if defined(_M_IX86) && defined(__GNUC__)
- int ret;
- __asm__ __volatile__ ("fistpl %0" : "=m" (ret) : "t"
(f) : "st");
- return ret;
+ int result;
+ __asm__ __volatile__ ("fistpl %0" : "=m" (result) : "t"
(f) : "st");
+ return result;
#elif defined(_M_IX86) && defined(_MSC_VER)
- int ret;
+ int result;
__asm
{
fld f;
- fistp ret;
+ fistp result;
}
#else
/* slow, but portable */