DWORD is defined as unsigned long which is a different type than unsigned int. Although both types has the same implementation (32 bit unsigned value) in MS Windows compiler generates an error.
You have two options to resolve this:
1) Change your thread function definition
2) Explicitly type cast the function pointer