Convert stdint to short ints

This commit is contained in:
Antonio SJ Musumeci 2026-03-01 13:58:06 -06:00 • committed by trapexit
parent 53c5a2cf1e
commit 511bf47af9
63 changed files with 294 additions and 290 deletions

View file

@ -18,7 +18,8 @@
#pragma once
#include <cstdint>
#include "base_types.h"
#include <string>
#include <sys/statvfs.h>
@ -36,7 +37,7 @@ namespace StatVFS
static
inline
int64_t
s64
spaceavail(const struct statvfs &st_)
{
return (st_.f_frsize * st_.f_bavail);
@ -44,7 +45,7 @@ namespace StatVFS
static
inline
int64_t
s64
spaceused(const struct statvfs &st_)
{
return (st_.f_frsize * (st_.f_blocks - st_.f_bavail));