diff --git a/src/browser/webapi/animation/Animation.zig b/src/browser/webapi/animation/Animation.zig index a9443d90..04df7e90 100644 --- a/src/browser/webapi/animation/Animation.zig +++ b/src/browser/webapi/animation/Animation.zig @@ -163,7 +163,7 @@ pub fn deinit(self: *Animation, _: bool) void { } // callback function transitionning from a state to another -fn update(ctx: *anyopaque) anyerror!?u32 { +fn update(ctx: *anyopaque) !?u32 { const self: *Animation = @ptrCast(@alignCast(ctx)); switch (self._playState) {