summaryrefslogtreecommitdiff
path: root/Python/dynload_win.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-03-25 07:01:37 +0100
committerGeorg Brandl <georg@python.org>2013-03-25 07:01:37 +0100
commita809e4a54007303efb084b85ba53605adaa41b64 (patch)
treed038bc1b85b83594b29f00ae5bc10b5290ffdf71 /Python/dynload_win.c
parentd08d0b1c69b19c58afb998e30eadfc7b9de26378 (diff)
parent153866ea9ab80323d247a9c49d1fdf50e07e7330 (diff)
downloadcpython-git-a809e4a54007303efb084b85ba53605adaa41b64.tar.gz
merge with upstream 3.3 branchv3.3.1rc1
Diffstat (limited to 'Python/dynload_win.c')
-rw-r--r--Python/dynload_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c
index 25b6680b3b..edb6038e3b 100644
--- a/Python/dynload_win.c
+++ b/Python/dynload_win.c
@@ -235,7 +235,7 @@ dl_funcptr _PyImport_GetDynLoadWindows(const char *shortname,
SUBLANG_DEFAULT),
/* Default language */
theInfo, /* the buffer */
- sizeof(theInfo), /* the buffer size */
+ sizeof(theInfo) / sizeof(wchar_t), /* size in wchars */
NULL); /* no additional format args. */
/* Problem: could not get the error message.