Skip to content

Commit 9ffbdc6

Browse files
authored
hotfix: fix failed 32-bit builds (#8741)
1 parent 2f0a999 commit 9ffbdc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/coderd/coderd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ func derpMapper(logger slog.Logger, proxyHealth *proxyhealth.ProxyHealth) func(*
664664
context.Background(),
665665
"existing DERP region IDs are too large, proxy region IDs will not be populated in the derp map. Please ensure that all DERP region IDs are less than 2^32",
666666
slog.F("largest_region_id", largestRegionID),
667-
slog.F("max_region_id", 1<<32-1),
667+
slog.F("max_region_id", int64(1<<32-1)),
668668
)
669669
return derpMap
670670
}

0 commit comments

Comments
 (0)