Eradicate variable-size integer types where not used by interface or as index (fixes #107)

This commit is contained in:
comp500
2022-06-16 21:32:15 +01:00
parent d051932bbb
commit d5290ebd32
12 changed files with 125 additions and 112 deletions

View File

@@ -52,7 +52,7 @@ var openCmd = &cobra.Command{
}
cfUpdateData := updateData.(cfUpdateData)
fmt.Println("Opening browser...")
url := "https://www.curseforge.com/projects/" + strconv.Itoa(cfUpdateData.ProjectID)
url := "https://www.curseforge.com/projects/" + strconv.FormatUint(uint64(cfUpdateData.ProjectID), 10)
err = open.Start(url)
if err != nil {
fmt.Println("Opening page failed, direct link:")