aboutsummaryrefslogtreecommitdiff
path: root/src/debug/elf
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2023-09-19 10:36:19 +0000
committerGopher Robot <gobot@golang.org>2023-09-22 16:22:42 +0000
commit9b883484a8c1c0fb556ac0d04cf24e54dff7eb47 (patch)
treef322f56ef71cb077a1559450d1c2b76f39991436 /src/debug/elf
parentbf5d8c02bab68a8628956b953be8bf5928461fb6 (diff)
downloadgo-9b883484a8c1c0fb556ac0d04cf24e54dff7eb47.tar.xz
all: clean unnecessary casts for test files
This is a follow up of CL 528696. Change-Id: I5b71eabedb12567c4b1b36f7182a3d2b0ed662a5 GitHub-Last-Rev: acaf3ac11c38042ad27b99e1c70a3c9f1a554a15 GitHub-Pull-Request: golang/go#62713 Reviewed-on: https://go-review.googlesource.com/c/go/+/529197 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/debug/elf')
-rw-r--r--src/debug/elf/file_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/elf/file_test.go b/src/debug/elf/file_test.go
index f9b3ce3121..5dd83a2917 100644
--- a/src/debug/elf/file_test.go
+++ b/src/debug/elf/file_test.go
@@ -1339,7 +1339,7 @@ func TestLargeNumberOfSections(t *testing.T) {
binary.Write(&buf, binary.LittleEndian, Section32{
Name: 0x1B,
Type: uint32(SHT_PROGBITS),
- Flags: uint32(uint32(SHF_ALLOC | SHF_EXECINSTR)),
+ Flags: uint32(SHF_ALLOC | SHF_EXECINSTR),
Off: 0x34,
Addralign: 0x01,
})