mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
[ROSTESTS] fix x64 build and fix/disable warnings
This commit is contained in:
parent
6a67450893
commit
42d2d5ec9c
56 changed files with 229 additions and 171 deletions
|
@ -31,12 +31,16 @@ extern "C" {
|
|||
|
||||
extern __m128 _mm_load_ss(float const*);
|
||||
extern int _mm_cvt_ss2si(__m128);
|
||||
__m128 _mm_xor_ps(__m128 a, __m128 b);
|
||||
__m128 _mm_div_ps(__m128 a, __m128 b);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
unsigned int _mm_getcsr(void);
|
||||
#pragma intrinsic(_mm_getcsr)
|
||||
void _mm_setcsr(unsigned int);
|
||||
#pragma intrinsic(_mm_setcsr)
|
||||
#pragma intrinsic(_mm_xor_ps)
|
||||
#pragma intrinsic(_mm_div_ps)
|
||||
#else
|
||||
|
||||
#ifndef __INTRIN_INLINE
|
||||
|
|
|
@ -2072,7 +2072,11 @@ BOOL WINAPI IsOS(DWORD);
|
|||
typedef struct
|
||||
{
|
||||
const IID *piid;
|
||||
int dwOffset;
|
||||
#if defined(__REACTOS__) || (WINVER >= _WIN32_WINNT_WIN10)
|
||||
DWORD dwOffset;
|
||||
#else
|
||||
int dwOffset;
|
||||
#endif
|
||||
} QITAB, *LPQITAB;
|
||||
|
||||
HRESULT
|
||||
|
|
|
@ -1367,15 +1367,16 @@ protected:
|
|||
// get the total size of a multistring
|
||||
static ULONG _GetMultiStringSize(LPCTSTR pszz)
|
||||
{
|
||||
int count = 0;
|
||||
size_t count = 0;
|
||||
do
|
||||
{
|
||||
int len = _tcslen(pszz);
|
||||
size_t len = _tcslen(pszz);
|
||||
count += len + 1;
|
||||
pszz += len + 1;
|
||||
} while (*pszz != TEXT('\0'));
|
||||
++count;
|
||||
return count * sizeof(TCHAR);
|
||||
ATLASSERT(count * sizeof(TCHAR) <= ULONGMAX);
|
||||
return (ULONG)count * sizeof(TCHAR);
|
||||
}
|
||||
|
||||
// delete key recursively
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue