mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-07-01 05:46:36 -04:00
Fix my idiotic misalignment bug
This commit is contained in:
@ -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
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user