Bug 1286292 - Fix graphene build for windows. r=fabrice
authorBrad Lassey <blassey@mozilla.com>
Tue, 12 Jul 2016 11:37:45 -0400
changeset 330097 b6ef45cb51ca96b98449ea1dac0f05188ae7bb9e
parent 330096 385feddefee4bb63b7899d5c87bb3ef3b7bb38ba
child 330098 6b47b8d147ebd69fc4504c260da6950ebe606c29
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfabrice
bugs1286292
milestone50.0a1
Bug 1286292 - Fix graphene build for windows. r=fabrice
b2g/app/nsBrowserApp.cpp
--- a/b2g/app/nsBrowserApp.cpp
+++ b/b2g/app/nsBrowserApp.cpp
@@ -45,17 +45,17 @@
 #include "mozilla/WindowsDllBlocklist.h"
 
 static void Output(const char *fmt, ... )
 {
   va_list ap;
   va_start(ap, fmt);
 
 #if defined(XP_WIN) && !MOZ_WINCONSOLE
-  char16_t msg[2048];
+  wchar_t msg[2048];
   _vsnwprintf(msg, sizeof(msg)/sizeof(msg[0]), NS_ConvertUTF8toUTF16(fmt).get(), ap);
   MessageBoxW(nullptr, msg, L"XULRunner", MB_OK | MB_ICONERROR);
 #else
   vfprintf(stderr, fmt, ap);
 #endif
 
   va_end(ap);
 }