Ge van Geldorp : server: The "select" call passes handles, not ints.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 3 05:22:49 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 5d88b27d0d0978541b8012d92affe7b56265876c
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=5d88b27d0d0978541b8012d92affe7b56265876c

Author: Ge van Geldorp <ge at gse.nl>
Date:   Fri Jun 30 21:37:36 2006 +0200

server: The "select" call passes handles, not ints.

---

 server/thread.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/thread.c b/server/thread.c
index 7e4ba3b..36b7309 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -994,7 +994,7 @@ DECL_HANDLER(resume_thread)
 /* select on a handle list */
 DECL_HANDLER(select)
 {
-    int count = get_req_data_size() / sizeof(int);
+    int count = get_req_data_size() / sizeof(obj_handle_t);
     select_on( count, req->cookie, get_req_data(), req->flags, &req->timeout, req->signal );
 }
 




More information about the wine-cvs mailing list