mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Use PRI?64 instead of "ll?" in format strings (continued).
Continuation of work started in commit 15a79c73, after initial trial.
Author: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/b936d2fb-590d-49c3-a615-92c3a88c6c19%40eisentraut.org
This commit is contained in:
@@ -100,8 +100,7 @@ SlruFileName(SlruCtl ctl, char *path, int64 segno)
|
||||
* that in the future we can't decrease SLRU_PAGES_PER_SEGMENT easily.
|
||||
*/
|
||||
Assert(segno >= 0 && segno <= INT64CONST(0xFFFFFFFFFFFFFFF));
|
||||
return snprintf(path, MAXPGPATH, "%s/%015llX", ctl->Dir,
|
||||
(long long) segno);
|
||||
return snprintf(path, MAXPGPATH, "%s/%015" PRIX64, ctl->Dir, segno);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user