diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-05-21 22:25:50 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-05-21 22:25:50 -0400 |
commit | 9ae5448fc231a008fa02eb704fd034de099cf2bb (patch) | |
tree | 123c4b1d493b694ea5d004fead254983face2481 | |
parent | 0212c5ea88f4387a1a200ef80b2e844d01ace470 (diff) |
Fix a type size calculation.
-rw-r--r-- | xcbgen/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xcbgen/types.py b/xcbgen/types.py index ce2842f..d4b16e2 100644 --- a/xcbgen/types.py +++ b/xcbgen/types.py @@ -318,7 +318,7 @@ class ComplexType(Type): if not m.wire: continue if m.type.fixed_size(): - self.size = self.size + m.type.size + self.size = self.size + (m.type.size * m.type.nmemb) else: self.size = None break |