Index: C:/ROS/reactos-clean/reactos/include/psdk/winnt.h =================================================================== --- include/psdk/winnt.h (revision 64017) +++ include/psdk/winnt.h (working copy) @@ -743,7 +743,7 @@ /* Multiplication and Shift Operations. Note: we don't use inline asm functions, the compiler can optimize this better. */ -#define Int32x32To64(a,b) (((__int64)(long)(a))*((__int64)(long)(b))) +#define Int32x32To64(a,b) (((__int64)(a))*((__int64)(b))) #define UInt32x32To64(a,b) ((unsigned __int64)(unsigned int)(a)*(unsigned __int64)(unsigned int)(b)) #if defined(MIDL_PASS)|| defined(RC_INVOKED) || defined(_M_CEE_PURE) @@ -755,7 +755,7 @@ /* Use intrinsics */ #define Int64ShllMod32(a,b) __ll_lshift(a,b) #define Int64ShraMod32(a,b) __ll_rshift(a,b) - #define Int64ShrlMod32(a,b) __ull_rshift(a,b) + #define Int64ShrlMod32(a,b) (((unsigned __int64)(a))>>(b)) #endif #define RotateLeft32 _rotl