summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-11-25 13:06:11 +0100
committerAraq <rumpf_a@web.de>2013-11-25 13:06:11 +0100
commit4855055bca7f5b2900ac15ce0e5cae90c22fa7fa (patch)
tree19794ccc8ae9367fa94e8808021f1b313e431d65 /lib/system.nim
parent52d1a637b95f7cea95ad6e9591a941ef1be113cb (diff)
parentb893bd074f9e90f517c3f84037f92f89ab6fbad3 (diff)
downloadNim-4855055bca7f5b2900ac15ce0e5cae90c22fa7fa.tar.gz
Merge branch 'master' of https://github.com/Araq/Nimrod
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 9beead0b7..34b67267f 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -849,7 +849,7 @@ const
     ## a string that describes the application type. Possible values:
     ## "console", "gui", "lib".
   
-  seqShallowFlag = 1 shl (sizeof(int)*8-1)
+  seqShallowFlag = low(int)
   
 proc compileOption*(option: string): bool {.
   magic: "CompileOption", noSideEffect.}
@@ -1795,7 +1795,7 @@ when defined(JS):
 
 elif hostOS != "standalone":
   {.push stack_trace:off, profiler:off.}
-  proc add*(x: var string, y: cstring) {.noStackFrame.} =
+  proc add*(x: var string, y: cstring) =
     var i = 0
     while y[i] != '\0':
       add(x, y[i])