ntdll: Fix NtQueryInformationThread on non x86.
Pierre d'Herbemont
stegefin at free.fr
Mon Jun 5 14:31:13 CDT 2006
Hi,
Compilation is broken on non x86 without this patch.
Thanks,
Pierre.
ChangeLog:
Fix NtQueryInformationThread on non x86.
---
dlls/ntdll/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
f5d2cb2c3380ca5b8a3d813b09c79fc66156d3c6
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index b2d0c55..10cb72b 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -1128,10 +1128,10 @@ #ifdef __i386__
}
SERVER_END_REQ;
}
+ if (status == STATUS_SUCCESS && ret_len) *ret_len =
sizeof(*tdi);
#else
status = STATUS_NOT_IMPLEMENTED;
#endif
- if (status == STATUS_SUCCESS && ret_len) *ret_len =
sizeof(*tdi);
return status;
}
case ThreadPriority:
More information about the wine-patches
mailing list