From f44980c913e780d7758de5a63b219e2ced8e18c4 Mon Sep 17 00:00:00 2001 From: Tim Abraldes Date: Wed, 26 Mar 2014 14:46:00 +0100 Subject: [PATCH] bug 986195 - Expect failure in 32-bit builds, which is 4 bytes, not 8. r=froydnj --- toolkit/components/ctypes/tests/unit/test_jsctypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/ctypes/tests/unit/test_jsctypes.js b/toolkit/components/ctypes/tests/unit/test_jsctypes.js index 468e68c72f1..ea88e0378dc 100644 --- a/toolkit/components/ctypes/tests/unit/test_jsctypes.js +++ b/toolkit/components/ctypes/tests/unit/test_jsctypes.js @@ -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);