Fix mismatched type in parse_signed

This commit is contained in:
kayomn 2023-04-27 21:11:49 +00:00
parent 40f4c37dc8
commit 3efe246ed0
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ pub fn parse_signed(comptime bits: comptime_int, utf8: []const u8) IntParseError
// "-"
if (is_negative and (utf8.len == 1)) return error.BadSyntax;
var result: math.Unsigned(bits) = 0;
var result: math.Signed(bits) = 0;
{
var index: usize = 0;