1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-16 00:04:40 +00:00

all: Apply codeql fixes

This commit is contained in:
Aaron Gokaslan
2023-02-20 10:12:46 -08:00
committed by Nick Craig-Wood
parent 2dabbe83ac
commit 745c0af571
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ func (x *FileMode) String() string {
// Set a FileMode
func (x *FileMode) Set(s string) error {
i, err := strconv.ParseInt(s, 8, 64)
i, err := strconv.ParseInt(s, 8, 32)
if err != nil {
return fmt.Errorf("bad FileMode - must be octal digits: %w", err)
}