Skip to content

Commit cae5671

Browse files
committed
In pg_resetxlog.c, uint -> uint32, for Win32 port.
1 parent 1865fb6 commit cae5671

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_resetxlog/pg_resetxlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void usage(void);
109109
static void GetXLogFiles(void);
110110
static bool ValidXLogFileName(char * fname);
111111
static bool ValidXLogFileHeader(XLogFileName *segfile);
112-
static bool ValidXLOGPageHeader(XLogPageHeader hdr, uint tli, uint id, uint seg);
112+
static bool ValidXLOGPageHeader(XLogPageHeader hdr, uint32 tli, uint32 id, uint32 seg);
113113
static bool CmpXLogFileOT(XLogFileName * f1, XLogFileName *f2);
114114
static bool IsNextSeg(XLogFileName *prev, XLogFileName *cur);
115115
static void InsertXLogFile( char * fname );
@@ -1204,7 +1204,7 @@ SelectStartXLog( void )
12041204
static bool
12051205
ValidXLogFileName(char * fname)
12061206
{
1207-
uint logTLI, logId, logSeg;
1207+
uint32 logTLI, logId, logSeg;
12081208
if (strlen(fname) != 24 ||
12091209
strspn(fname, "0123456789ABCDEF") != 24 ||
12101210
sscanf(fname, "%8x%8x%8x", &logTLI, &logId, &logSeg) != 3)
@@ -1243,7 +1243,7 @@ ValidXLogFileHeader(XLogFileName *segfile)
12431243

12441244
}
12451245
static bool
1246-
ValidXLOGPageHeader(XLogPageHeader hdr, uint tli, uint id, uint seg)
1246+
ValidXLOGPageHeader(XLogPageHeader hdr, uint32 tli, uint32 id, uint32 seg)
12471247
{
12481248
XLogRecPtr recaddr;
12491249

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy