Bug 1358549: Fix incorrect ABI specification in js-ctypes declaration of FileTimeToSystemTime; r?gijs draft
authorAaron Klotz <aklotz@mozilla.com>
Fri, 21 Apr 2017 11:18:04 -0600
changeset 566496 e721983aa4a832c55fc8b38ff0b999a21fe6fd8d
parent 566134 9ac0d80b0276ae4683217fd91f55150228b20801
child 568053 f7c107a6e675b669d2f8c5d06a23788b411611c7
push id55236
push useraklotz@mozilla.com
push dateFri, 21 Apr 2017 17:18:32 +0000
reviewersgijs
bugs1358549
milestone55.0a1
Bug 1358549: Fix incorrect ABI specification in js-ctypes declaration of FileTimeToSystemTime; r?gijs MozReview-Commit-ID: AAPupaveOUM
browser/components/migration/MSMigrationUtils.jsm
--- a/browser/components/migration/MSMigrationUtils.jsm
+++ b/browser/components/migration/MSMigrationUtils.jsm
@@ -74,17 +74,17 @@ function CtypesKernelHelpers() {
     {dwHighDateTime: wintypes.DWORD}
   ]);
 
   try {
     this._libs.kernel32 = ctypes.open("Kernel32");
 
     this._functions.FileTimeToSystemTime =
       this._libs.kernel32.declare("FileTimeToSystemTime",
-                                  ctypes.default_abi,
+                                  ctypes.winapi_abi,
                                   wintypes.BOOL,
                                   this._structs.FILETIME.ptr,
                                   this._structs.SYSTEMTIME.ptr);
   } catch (ex) {
     this.finalize();
   }
 }