summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-01-20 12:50:47 +0100
committerAraq <rumpf_a@web.de>2017-01-20 13:17:45 +0100
commit64a7d2fd08c7f146260696e6c633420a95a3d4af (patch)
treebdd4d30749a875a4cc3de79c876ea613b998f930 /lib
parent54bd728c1358ebae33d08173d139824e77947a5f (diff)
downloadNim-64a7d2fd08c7f146260696e6c633420a95a3d4af.tar.gz
ansi_c.nim: avoid deprecated 'expr' type
Diffstat (limited to 'lib')
-rw-r--r--lib/system/ansi_c.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim
index a8e358229..e3b2072b9 100644
--- a/lib/system/ansi_c.nim
+++ b/lib/system/ansi_c.nim
@@ -63,7 +63,7 @@ else:
 when defined(macosx):
   const SIGBUS = cint(10)
 else:
-  template SIGBUS: expr = SIGSEGV
+  template SIGBUS: untyped = SIGSEGV
 
 when defined(nimSigSetjmp) and not defined(nimStdSetjmp):
   proc c_longjmp(jmpb: C_JmpBuf, retval: cint) {.