summaryrefslogtreecommitdiff
path: root/Xtransutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xtransutil.c')
-rw-r--r--Xtransutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtransutil.c b/Xtransutil.c
index a35c84b..9906367 100644
--- a/Xtransutil.c
+++ b/Xtransutil.c
@@ -479,7 +479,7 @@ TRANS(WSAStartup) (void)
PRMSG (2,"WSAStartup()\n", 0, 0, 0);
- if (!wsadata.wVersion && WSAStartup(0x0101, &wsadata))
+ if (!wsadata.wVersion && WSAStartup(MAKEWORD(2,2), &wsadata))
return 1;
return 0;
}