mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Trace GetLastError() results with %lu.
These are DWORDs, but this is all Windows code, so we can just use %lu.
This commit is contained in:
parent
ac9b14599f
commit
bf0fda7812
Notes:
Alexandre Julliard
2024-01-11 23:15:12 +01:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/556
@ -4551,7 +4551,7 @@ HRESULT vkd3d_create_thread(struct vkd3d_instance *instance,
|
||||
thread_data->data = data;
|
||||
if (!(thread->handle = CreateThread(NULL, 0, call_thread_main, thread_data, 0, NULL)))
|
||||
{
|
||||
ERR("Failed to create thread, error %d.\n", GetLastError());
|
||||
ERR("Failed to create thread, error %lu.\n", GetLastError());
|
||||
vkd3d_free(thread_data);
|
||||
hr = E_FAIL;
|
||||
}
|
||||
|
@ -249,7 +249,7 @@ static inline void vkd3d_cond_broadcast(struct vkd3d_cond *cond)
|
||||
static inline void vkd3d_cond_wait(struct vkd3d_cond *cond, struct vkd3d_mutex *lock)
|
||||
{
|
||||
if (!SleepConditionVariableCS(&cond->cond, &lock->lock, INFINITE))
|
||||
ERR("Could not sleep on the condition variable, error %u.\n", GetLastError());
|
||||
ERR("Could not sleep on the condition variable, error %lu.\n", GetLastError());
|
||||
}
|
||||
|
||||
static inline void vkd3d_cond_destroy(struct vkd3d_cond *cond)
|
||||
|
Loading…
x
Reference in New Issue
Block a user