From 70048715cec251a23871747e342e5cf938c97255 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 18 Mar 2019 16:17:21 -0400 Subject: * Added ToolReturnCode to be more rigerous about how a return code is passed back from a tool (#911) * Added support for a tool being able to pass back an 'ignored' result. * Used enum codes to indicate meanings * Made spawnAndWait return a ToolReturnCode --- source/slangc/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slangc') diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp index bcc40b5ca..80b9cddbd 100644 --- a/source/slangc/main.cpp +++ b/source/slangc/main.cpp @@ -87,7 +87,7 @@ int MAIN(int argc, char** argv) res = innerMain(stdWriters, session, argc, argv); spDestroySession(session); } - return TestToolUtil::getReturnCode(res); + return (int)TestToolUtil::getReturnCode(res); } #ifdef _WIN32 -- cgit v1.2.3