summary refs log tree commit diff
path: root/src/alc.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/alc.zig')
-rw-r--r--src/alc.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alc.zig b/src/alc.zig
index 3db5440..59a517e 100644
--- a/src/alc.zig
+++ b/src/alc.zig
@@ -1,5 +1,5 @@
 // Audio Library Context wrapper
-// Copyright (C) 2021-2023  Nguyễn Gia Phong
+// Copyright (C) 2021-2023, 2025  Nguyễn Gia Phong
 //
 // This file is part of zeal.
 //
@@ -267,7 +267,7 @@ fn getInfo(comptime T: type, device: ?*Device, attr: Enum) !T {
         i32 => return (try getInfo([1]i32, device, attr))[0],
         [:0]const u8 => span(c.alcGetString(device, @intFromEnum(attr))),
         else => array: {
-            assert(@typeInfo(T).Array.child == i32);
+            assert(@typeInfo(T).array.child == i32);
             var data: T = undefined;
             c.alcGetIntegerv(device, @intFromEnum(attr), data.len, &data);
             break :array data;