Use usize instead of u64 in most places for better 32-bit compatibility

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2024-07-29 13:46:14 +02:00
parent ee488ba36e
commit c1f1c8f5c1
10 changed files with 50 additions and 50 deletions

View File

@@ -26,10 +26,10 @@ pub const logincap = @cImport({
@cInclude("login_cap.h");
});
pub const c_size = u64;
pub const c_size = usize;
pub const c_uid = u32;
pub const c_gid = u32;
pub const c_time = c_long;
pub const c_time = c_longlong;
pub const tm = extern struct {
tm_sec: c_int,
tm_min: c_int,