mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-26 14:01:44 +08:00
Use fixed value "lld" instead of PRIdMAX
This commit is contained in:
parent
42be7733fe
commit
a5a7a32447
@ -66,8 +66,6 @@
|
|||||||
|
|
||||||
# define ISDIGIT(c) ((unsigned int) (c) - L'0' <= 9)
|
# define ISDIGIT(c) ((unsigned int) (c) - L'0' <= 9)
|
||||||
|
|
||||||
# define PRIdMAX L"ld"
|
|
||||||
|
|
||||||
static int exit_code;
|
static int exit_code;
|
||||||
|
|
||||||
/* True if the POSIXLY_CORRECT environment variable is set. */
|
/* True if the POSIXLY_CORRECT environment variable is set. */
|
||||||
@ -314,8 +312,8 @@ static void print_direc (const wchar_t *start, size_t length, wchar_t conversion
|
|||||||
switch (conversion)
|
switch (conversion)
|
||||||
{
|
{
|
||||||
case L'd': case L'i':
|
case L'd': case L'i':
|
||||||
length_modifier = PRIdMAX;
|
length_modifier = L"lld";
|
||||||
length_modifier_len = sizeof PRIdMAX - 2;
|
length_modifier_len = sizeof L"lld" - 2;
|
||||||
break;
|
break;
|
||||||
case L'a': case L'e': case L'f': case L'g':
|
case L'a': case L'e': case L'f': case L'g':
|
||||||
case L'A': case L'E': case L'F': case L'G':
|
case L'A': case L'E': case L'F': case L'G':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user