diff --git a/mozglue/tests/TestNativeNt.cpp b/mozglue/tests/TestNativeNt.cpp index 96cf7d9e72f5..4526c83d125b 100644 --- a/mozglue/tests/TestNativeNt.cpp +++ b/mozglue/tests/TestNativeNt.cpp @@ -38,7 +38,7 @@ const char kFailFmt[] = using namespace mozilla; using namespace mozilla::nt; -extern "C" int wmain(int argc, wchar_t* argv[]) { +int main(int argc, char* argv[]) { UNICODE_STRING normal; ::RtlInitUnicodeString(&normal, kNormal);