update to lastest zig master

pull/1/head
Meghan Denny 2021-08-27 01:47:38 -07:00
parent 264fa944f1
commit 1e8ffb6240
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ pub fn validateMessage(allocator: *std.mem.Allocator, tokenText: []const u8, sig
// validating a JWS. Let the Message be the result of base64url
// decoding the JWS Payload.
.JWS => {
var section_iter = std.mem.split(tokenText, ".");
var section_iter = std.mem.split(u8, tokenText, ".");
std.debug.assert(section_iter.next() != null);
const payload_base64 = section_iter.next().?;
const signature_base64 = section_iter.rest();