mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 06:27:57 +00:00
Fix printing time stamps on MS-Windows
* dir.c (print_dir_data_base) [WINDOWS32]: Use %I64u format for printing unsigned 64-bit data types, as %ull is not universally supported.
This commit is contained in:
parent
2987163ac4
commit
5a4f9a67a3
1 changed files with 2 additions and 2 deletions
4
dir.c
4
dir.c
|
@ -1082,7 +1082,7 @@ print_dir_data_base (void)
|
|||
else if (dir->contents->dirfiles.ht_vec == 0)
|
||||
{
|
||||
#ifdef WINDOWS32
|
||||
printf (_("# %s (key %s, mtime %ull): could not be opened.\n"),
|
||||
printf (_("# %s (key %s, mtime %I64u): could not be opened.\n"),
|
||||
dir->name, dir->contents->path_key,
|
||||
(unsigned long long)dir->contents->mtime);
|
||||
#else /* WINDOWS32 */
|
||||
|
@ -1119,7 +1119,7 @@ print_dir_data_base (void)
|
|||
}
|
||||
}
|
||||
#ifdef WINDOWS32
|
||||
printf (_("# %s (key %s, mtime %ull): "),
|
||||
printf (_("# %s (key %s, mtime %I64u): "),
|
||||
dir->name, dir->contents->path_key,
|
||||
(unsigned long long)dir->contents->mtime);
|
||||
#else /* WINDOWS32 */
|
||||
|
|
Loading…
Reference in a new issue