Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 13e7635

Browse files
committed
Merge pull request #2495 from weshaggard/NativeServiceCPPWarningFix
Fix new c++ compiler warning after moving to C++ 14
2 parents 588aea3 + 079ecc6 commit 13e7635

File tree

1 file changed

+1
-1
lines changed
  • src/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestNativeService

1 file changed

+1
-1
lines changed

src/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestNativeService/NativeTestService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int _tmain(int argc, _TCHAR* argv [])
137137
}
138138
else
139139
{
140-
wprintf(L"error: Invalid action '%s'\n", action);
140+
wprintf(L"error: Invalid action '%s'\n", action.c_str());
141141
return -1;
142142
}
143143
}

0 commit comments

Comments
 (0)