From b3759de7f003967c243df1fbeac1eb4376b23489 Mon Sep 17 00:00:00 2001 From: Ronsor Date: Sat, 19 Aug 2023 07:18:33 -0700 Subject: [PATCH] caff: run go fmt --- format/caff/caff.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/format/caff/caff.go b/format/caff/caff.go index 04b836e79..29bdee286 100644 --- a/format/caff/caff.go +++ b/format/caff/caff.go @@ -170,9 +170,9 @@ func decodeCAFF(d *decode.D) any { d.FieldValueBool("is_obfuscated", entry.isObfuscated) d.FieldValueUint("compress_option", uint64(entry.compressOption), compressOptionNames) - rawBr := d.FieldRawLen("raw", int64(entry.fileSize) * 8) + rawBr := d.FieldRawLen("raw", int64(entry.fileSize)*8) rawBytes := make([]byte, entry.fileSize) - if n, err := rawBr.ReadBits(rawBytes, int64(entry.fileSize) * 8); err != nil || n != int64(entry.fileSize) * 8 { + if n, err := rawBr.ReadBits(rawBytes, int64(entry.fileSize)*8); err != nil || n != int64(entry.fileSize)*8 { return }