mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 13:25:57 +00:00
12dfa8ce39
Most importantly, do not shift 32-bit integers by 32 or more.
22 lines
515 B
C
22 lines
515 B
C
/*
|
|
* PROJECT: ReactOS win32 kernel mode subsystem
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: win32ss/gdi/eng/i386/floatobj.c
|
|
* PURPOSE: FLOATOBJ API
|
|
* PROGRAMMERS: Jérôme Gardou
|
|
*/
|
|
|
|
/** Includes ******************************************************************/
|
|
|
|
#include <win32k.h>
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
LONG
|
|
APIENTRY
|
|
FLOATOBJ_GetLong(FLOATOBJ* pf)
|
|
{
|
|
LONG val = 0;
|
|
(void)FLOATOBJ_bConvertToLong(pf, &val);
|
|
return val;
|
|
}
|