bug 986195 - Expect failure in 32-bit builds, which is 4 bytes, not 8. r=froydnj

This commit is contained in:
Tim Abraldes 2014-03-26 14:46:00 +01:00
parent b0f4329186
commit b58fc4ba41

View File

@ -2234,7 +2234,7 @@ function run_void_tests(library) {
// Check that WINAPI symbol lookup for a regular stdcall function fails on
// Win32 (it's all the same on Win64 though).
if (ctypes.voidptr_t.size == 8) {
if (ctypes.voidptr_t.size == 4) {
do_check_throws(function() {
let test_winapi_t = library.declare("test_void_t_stdcall", ctypes.winapi_abi, ctypes.void_t);
}, Error);