diff options
Diffstat (limited to 'xgbgen/translation.go')
| -rw-r--r-- | xgbgen/translation.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xgbgen/translation.go b/xgbgen/translation.go index b7e67e2..f595e5f 100644 --- a/xgbgen/translation.go +++ b/xgbgen/translation.go @@ -43,7 +43,7 @@ func (xml *XML) Translate(parent *Protocol) *Protocol { newBaseType := &Base{ srcName: srcName, xmlName: xmlName, - size: newFixedSize(BaseTypeSizes[xmlName]), + size: newFixedSize(BaseTypeSizes[xmlName], true), } protocol.Types = append(protocol.Types, newBaseType) } |
