mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Convert stdint to short ints
This commit is contained in:
parent
53c5a2cf1e
commit
511bf47af9
63 changed files with 294 additions and 290 deletions
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
#include "ef.hpp"
|
||||
#include "num.hpp"
|
||||
|
||||
#include "fmt/core.h"
|
||||
|
||||
|
|
@ -25,8 +26,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
#define KB (1024ULL)
|
||||
#define MB (KB * 1024ULL)
|
||||
|
|
@ -37,7 +36,7 @@
|
|||
namespace num
|
||||
{
|
||||
std::string
|
||||
humanize(const uint64_t bytes_)
|
||||
humanize(cu64 bytes_)
|
||||
{
|
||||
if(bytes_ < KB)
|
||||
return fmt::format("{}",bytes_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue