update to latest Zig (zig fmt)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-25 00:01:55 -07:00
parent 419d82d5fd
commit 29964c99bb
39 changed files with 156 additions and 156 deletions

View file

@ -63,7 +63,7 @@ pub fn save(self: M3d, quality: Quality, flags: Flags) Error![]u8 {
var size: u32 = 0;
return if (c.m3d_save(
self.handle,
@enumToInt(quality),
@intFromEnum(quality),
@bitCast(c_int, flags),
&size,
)) |res|