aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api/schema.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/schema.zig b/src/api/schema.zig
index 708d32ca0..2de80d42c 100644
--- a/src/api/schema.zig
+++ b/src/api/schema.zig
@@ -3053,7 +3053,7 @@ pub const Api = struct {
}
if (this.frozen_lockfile) |frozen_lockfile| {
try writer.writeFieldID(19);
- try writer.writeInt(@as(u8, @boolToInt(frozen_lockfile)));
+ try writer.writeInt(@as(u8, @intFromBool(frozen_lockfile)));
}
try writer.endMessage();
}