8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:43:03 +01:00

Fixed the annoying warning in 64-bit builds.

This commit is contained in:
dimitr 2008-09-12 14:12:47 +00:00
parent 0326ab6df1
commit 2e60c908ef

View File

@ -119,7 +119,7 @@ public:
void leave()
{
#ifdef DEV_BUILD
if ((DWORD)spinlock.OwningThread != GetCurrentThreadId())
if ((U_IPTR)spinlock.OwningThread != GetCurrentThreadId())
DebugBreak();
#endif
LeaveCriticalSection(&spinlock);