mirror of https://github.com/FreeRDP/FreeRDP
Fixed compiler warning about cast.
This commit is contained in:
parent
3b0f5b5b48
commit
b6b0f57a88
|
@ -663,8 +663,7 @@ DWORD GetCurrentThreadId(VOID)
|
|||
|
||||
/* Since pthread_t can be 64-bits on some systems, take just the */
|
||||
/* lower 32-bits of it for the thread ID returned by this function. */
|
||||
tid = (long)tid & 0xffffffff;
|
||||
return (DWORD) tid;
|
||||
return (DWORD)tid & 0xffffffffUL;
|
||||
}
|
||||
|
||||
DWORD ResumeThread(HANDLE hThread)
|
||||
|
|
Loading…
Reference in New Issue