diff --git a/ranges.v b/ranges.v index 58abfcd..634303e 100644 --- a/ranges.v +++ b/ranges.v @@ -258,8 +258,8 @@ fn convert_string[T](s string) !T { i64 { return strconv.atoi64(s)! } - isize { - return isize(strconv.atoi64(s)!) + uint { + return uint(strconv.atou64(s)!) } u8 { return strconv.atou8(s)! @@ -273,9 +273,6 @@ fn convert_string[T](s string) !T { u64 { return strconv.atou64(s)! } - usize { - return usize(strconv.atou64(s)!) - } f32 { return f32(strconv.atof64(s)!) } diff --git a/v.mod b/v.mod index fb5c556..f5894bf 100644 --- a/v.mod +++ b/v.mod @@ -1,7 +1,7 @@ Module { name: 'ranges' description: 'Operating with ranges of numbers' - version: '0.7.0' + version: '0.7.1' license: 'Unlicense' dependencies: [] }