Bug 1358882 - Fix build error on android r=me
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 15 Aug 2017 13:19:32 +0100
changeset 424343 92c5fef6d702c5690057b36a68e76354c164d8ca
parent 424342 adf5ed713e0df1a523b8b7634dd7b943a1daa5b2
child 424344 27a90d6952eca33ac61431d8c45f9f090871ffa9
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1358882
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1358882 - Fix build error on android r=me
dom/script/ScriptLoader.cpp
--- a/dom/script/ScriptLoader.cpp
+++ b/dom/script/ScriptLoader.cpp
@@ -361,17 +361,17 @@ ScriptLoader::SetModuleFetchFinishedAndR
   // Update module map with the result of fetching a single module script.  The
   // module script pointer is nullptr on error.
   //
   // If any requests for the same URL are waiting on this one to complete, they
   // will have ModuleLoaded or LoadFailed on them when the promise is
   // resolved/rejected. This is set up in StartLoad.
 
   LOG(("ScriptLoadRequest (%p): Module fetch finished (result == %u)",
-       aRequest, aResult));
+       aRequest, unsigned(aResult)));
 
   MOZ_ASSERT(!aRequest->IsReadyToRun());
 
   RefPtr<GenericPromise::Private> promise;
   MOZ_ALWAYS_TRUE(mFetchingModules.Remove(aRequest->mURI, getter_AddRefs(promise)));
 
   RefPtr<ModuleScript> ms(aRequest->mModuleScript);
   MOZ_ASSERT(NS_SUCCEEDED(aResult) == (ms != nullptr));