mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-04-04 14:20:40 +02:00
Fix a type size calculation.
This commit is contained in:
parent
0212c5ea88
commit
9ae5448fc2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue