aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/time/zoneinfo_read.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/time/zoneinfo_read.go')
-rw-r--r--libgo/go/time/zoneinfo_read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/time/zoneinfo_read.go b/libgo/go/time/zoneinfo_read.go
index ebb4205..d57c09e 100644
--- a/libgo/go/time/zoneinfo_read.go
+++ b/libgo/go/time/zoneinfo_read.go
@@ -141,7 +141,7 @@ func loadZoneData(bytes []byte) (l *Location, err error) {
if n, ok = zonedata.big4(); !ok {
return nil, badData
}
- zone[i].offset = int(n)
+ zone[i].offset = int(int32(n))
var b byte
if b, ok = zonedata.byte(); !ok {
return nil, badData