fix: fix windows build of flow
This commit is contained in:
parent
426a012d82
commit
09519fb5b0
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ pub fn decodeMapHeader(iter: *[]const u8) CborError!usize {
|
||||||
return 0;
|
return 0;
|
||||||
if (t.major != 5)
|
if (t.major != 5)
|
||||||
return error.CborInvalidType;
|
return error.CborInvalidType;
|
||||||
return decodePInt(iter, t.minor);
|
return @intCast(try decodePInt(iter, t.minor));
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn decodeArrayHeader(iter: *[]const u8) CborError!usize {
|
pub fn decodeArrayHeader(iter: *[]const u8) CborError!usize {
|
||||||
|
|
Loading…
Add table
Reference in a new issue