From e73b0484767641f4ef056fe2a9731ff514dead6e Mon Sep 17 00:00:00 2001 From: Vaughan Rouesnel Date: Sat, 12 Nov 2022 00:12:51 +0100 Subject: [PATCH] Fix: number '0000010' has leading zero --- src/libarchive/libarchive-bindings.zig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libarchive/libarchive-bindings.zig b/src/libarchive/libarchive-bindings.zig index e1c3ef920f..381414016a 100644 --- a/src/libarchive/libarchive-bindings.zig +++ b/src/libarchive/libarchive-bindings.zig @@ -11,13 +11,13 @@ const FILE = @import("std").c.FILE; const dev_t = @import("std").c.dev_t; pub const FileType = enum(mode_t) { - regular = 0100000, - link = 0120000, - socket = 0140000, - character_oriented_device = 0020000, - block_oriented_device = 0060000, - directory = 0040000, - fifo = 0010000, + regular = 0o100000, + link = 0o120000, + socket = 0o140000, + character_oriented_device = 0o20000, + block_oriented_device = 0o60000, + directory = 0o40000, + fifo = 0o10000, }; pub const SymlinkType = enum(c_int) {