mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01:00
ircd::fmt: Unrestrict long long from fmt specifiers.
This commit is contained in:
parent
40bead52b7
commit
fed3265d33
1 changed files with 20 additions and 16 deletions
36
ircd/fmt.cc
36
ircd/fmt.cc
|
@ -114,10 +114,11 @@ struct bool_specifier
|
|||
static const std::tuple
|
||||
<
|
||||
bool,
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long,
|
||||
long long, unsigned long long
|
||||
>
|
||||
types;
|
||||
|
||||
|
@ -139,10 +140,11 @@ struct signed_specifier
|
|||
static const std::tuple
|
||||
<
|
||||
bool,
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long,
|
||||
long long, unsigned long long
|
||||
>
|
||||
types;
|
||||
|
||||
|
@ -164,10 +166,11 @@ struct unsigned_specifier
|
|||
static const std::tuple
|
||||
<
|
||||
bool,
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long,
|
||||
long long, unsigned long long
|
||||
>
|
||||
types;
|
||||
|
||||
|
@ -185,10 +188,11 @@ struct hex_lowercase_specifier
|
|||
static const std::tuple
|
||||
<
|
||||
bool,
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long
|
||||
char, unsigned char,
|
||||
short, unsigned short,
|
||||
int, unsigned int,
|
||||
long, unsigned long,
|
||||
long long, unsigned long long
|
||||
>
|
||||
types;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue