Bug 1358549 - Fix incorrect ABI specification in js-ctypes declaration of FileTimeToSystemTime. r=Gijs, a=gchang
authorAaron Klotz <aklotz@mozilla.com>
Fri, 21 Apr 2017 11:18:04 -0600
changeset 396064 076868035c7498c29dcdefb9d28b6ed55d52fe83
parent 396063 cb989af0ee3725738387a32935fa8cb7816efb65
child 396065 f4279077d48fa17de2d76f3e9d0d896585dc6874
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, gchang
bugs1358549
milestone54.0
Bug 1358549 - Fix incorrect ABI specification in js-ctypes declaration of FileTimeToSystemTime. r=Gijs, a=gchang 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();
   }
 }