diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-01-22 14:06:53 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-22 14:06:53 +0100 |
commit | 0dd18113449ba02ac2794adbd47226983912901d (patch) | |
tree | 059fe16660af46340842aaca332373bac6d2652d /lib | |
parent | 6e145d426934489e32fde9a01969cb3117fd33de (diff) | |
download | Nim-0dd18113449ba02ac2794adbd47226983912901d.tar.gz |
make C++ tests green again
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/excpt.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 0087c6139..3d75a8704 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -386,9 +386,9 @@ proc writeStackTrace() = when hasSomeStackTrace: var s = "" rawWriteStackTrace(s) - cast[proc (s: string) {.noSideEffect, tags: [], nimcall.}](showErrorMessage)(s) + cast[proc (s: cstring) {.noSideEffect, tags: [], nimcall.}](showErrorMessage)(s) else: - cast[proc (s: string) {.noSideEffect, tags: [], nimcall.}](showErrorMessage)("No stack traceback available\n") + cast[proc (s: cstring) {.noSideEffect, tags: [], nimcall.}](showErrorMessage)("No stack traceback available\n") proc getStackTrace(): string = when hasSomeStackTrace: |