diff options
author | Araq <rumpf_a@web.de> | 2014-09-21 18:39:00 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-09-21 18:39:00 +0200 |
commit | 7916b1f9aa93fca368afda8b18396230ac7f338c (patch) | |
tree | 04072aeee4ae211b91c088a7267455b82daf9787 /compiler/magicsys.nim | |
parent | 4800acf6ab92799316b270c991b6e8c01454608f (diff) | |
download | Nim-7916b1f9aa93fca368afda8b18396230ac7f338c.tar.gz |
implemented 'guard' annotation
Diffstat (limited to 'compiler/magicsys.nim')
-rw-r--r-- | compiler/magicsys.nim | 2 |
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)) |