Skip to content

Commit

Permalink
修复Platform: freebsd, Arch: 386, GoVersion: 1.19.11 的编译错误 (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
kira1928 authored Jul 28, 2023
1 parent 3d8909f commit d40f568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/live/yy/yy.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ func (l *Live) getRoomInfo() ([]byte, error) {
roomid := paths[1]
l.roomID = roomid

uid := 1125e4*rand.Int() + 4283717296
tmp := &data{Id: roomid, Uid: strconv.Itoa(uid)}
uid := int64(1125e4*rand.Int()) + int64(4283717296)
tmp := &data{Id: roomid, Uid: strconv.FormatInt(int64(uid), 10)}

tmpl, err := template.New("roomurlteml").Parse(roomInitUrl)
if err != nil {
Expand Down

0 comments on commit d40f568

Please sign in to comment.