summary refs log tree commit diff stats
path: root/compiler/magicsys.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-21 18:39:00 +0200
committerAraq <rumpf_a@web.de>2014-09-21 18:39:00 +0200
commit7916b1f9aa93fca368afda8b18396230ac7f338c (patch)
tree04072aeee4ae211b91c088a7267455b82daf9787 /compiler/magicsys.nim
parent4800acf6ab92799316b270c991b6e8c01454608f (diff)
downloadNim-7916b1f9aa93fca368afda8b18396230ac7f338c.tar.gz
implemented 'guard' annotation
Diffstat (limited to 'compiler/magicsys.nim')
-rw-r--r--compiler/magicsys.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/magicsys.nim b/compiler/magicsys.nim
index a794253df..6d4c65268 100644
--- a/compiler/magicsys.nim
+++ b/compiler/magicsys.nim
@@ -35,7 +35,7 @@ proc registerSysType(t: PType) =
 proc newSysType(kind: TTypeKind, size: int): PType = 
   result = newType(kind, systemModule)
   result.size = size
-  result.align = size
+  result.align = size.int16
 
 proc getSysSym(name: string): PSym = 
   result = strTableGet(systemModule.tab, getIdent(name))