Skip to content

Commit

Permalink
ircd::fmt: Unrestrict long long from fmt specifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
jevolk committed Jan 11, 2018
1 parent 40bead5 commit fed3265
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions ircd/fmt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand All @@ -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;

Expand All @@ -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;

Expand Down

0 comments on commit fed3265

Please sign in to comment.