aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/hsu.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-05 20:13:19 +0900
committerOphestra <cat@gensokyo.uk>2025-11-05 20:13:19 +0900
commit9fd97e71d0330d6b6509f28686cf53825bc80941 (patch)
tree35774cbde4c1abd9967a1de98341a732ff3b464f /internal/outcome/hsu.go
parentfba201c9953a490da914b09e09eaaa697a4b36e1 (diff)
treewide: fit test untyped int literals in 32-bit
This enables hakurei test suite to run on 32-bit targets. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome/hsu.go')
-rw-r--r--internal/outcome/hsu.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/outcome/hsu.go b/internal/outcome/hsu.go
index 3047a2e9..c1be6761 100644
--- a/internal/outcome/hsu.go
+++ b/internal/outcome/hsu.go
@@ -86,12 +86,12 @@ func (h *Hsu) MustID(msg message.Msg) int {
msg.Verbose("*"+fallback, err)
}
os.Exit(1)
- return -0xdeadbeef // not reached
+ return -0xbad // not reached
} else if m, ok := message.GetMessage(err); ok {
log.Fatal(m)
- return -0xdeadbeef // not reached
+ return -0xbad // not reached
} else {
log.Fatalln(fallback, err)
- return -0xdeadbeef // not reached
+ return -0xbad // not reached
}
}