1
0
forked from mirror/vulkan-zig

Made vulkan-zig conform to new multi for syntax

This commit is contained in:
antlilja
2023-02-20 14:54:12 +01:00
parent ac035d5ebe
commit 07b13e976f
5 changed files with 11 additions and 11 deletions

View File

@@ -549,7 +549,7 @@ pub fn parseVersion(xctok: *XmlCTokenizer) ![4][]const u8 {
_ = try xctok.expect(.lparen);
var version: [4][]const u8 = undefined;
for (version) |*part, i| {
for (&version, 0..) |*part, i| {
if (i != 0) {
_ = try xctok.expect(.comma);
}