mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Fix my idiotic misalignment bug
This commit is contained in:
parent
972cd9f9ea
commit
9f3604b670
@ -160,7 +160,7 @@ typedef struct {
|
||||
""")
|
||||
return tmpl.substitute(
|
||||
values = [(n, self.packed[n][1]) for n in self.packed_order],
|
||||
padding = len(self) % (self.clsize / 4),
|
||||
padding = self.align / 4 - len(self),
|
||||
tname = self.tname
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user