diff options
Diffstat (limited to 'source/slangc/main.cpp')
| -rw-r--r-- | source/slangc/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp index 4a783a17c..a643e26eb 100644 --- a/source/slangc/main.cpp +++ b/source/slangc/main.cpp @@ -84,7 +84,7 @@ int MAIN(int argc, char** argv) #ifndef _DEBUG catch (Exception & e) { - printf("internal compiler error: %S\n", e.Message.ToWString()); + printf("internal compiler error: %S\n", e.Message.ToWString().begin()); return 1; } #endif |
