mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
1 parent
9f994948df
commit
20e459cfb2
9 files changed
+195
-72
No files matched your search
@@ -600,7 +600,7 @@ func (g *gen) writeCallSuspendibles(b *buffer, n *a.Expr, depth uint32) error {
|
||||
}
|
||||
|
||||
func (g *gen) writeReadUXX(b *buffer, n *a.Expr, name string, size uint32, endianness string) error {
|
||||
if size != 16 && size != 32 {
|
||||
if (size&7 != 0) || (size < 16) || (size > 64) {
|
||||
return fmt.Errorf("internal error: bad writeReadUXX size %d", size)
|
||||
}
|
||||
if endianness != "be" && endianness != "le" {
|
||||
|
||||
Reference in new issue
Block a user