Skip to content

Commit 279c981

Browse files
committed
PGPRO-552: use uint32 in some places
1 parent a04f00a commit 279c981

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/backup.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ remove_excluded_files_criterion(void *value, void *exclude_args) {
23572357
return file->remove_from_list;
23582358
}
23592359

2360-
static uint32_t
2360+
static uint32
23612361
hash_rel_seg(pgFile* file)
23622362
{
23632363
uint32 hash = hash_mix32_2(file->relOid, file->segno);
@@ -2387,7 +2387,7 @@ rewind_and_mark_cfs_datafiles(parray *files, const char *root, char *relative, s
23872387
pgFile *prev_file;
23882388
pgFile *tmp_file;
23892389
char *cfs_tblspc_path;
2390-
uint32_t h;
2390+
uint32 h;
23912391

23922392
/* hash table for cfm files */
23932393
#define HASHN 128

Diff for: src/utils/pgut.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ extern int usleep(unsigned int usec);
115115
#define ARG_SIZE_HINT static
116116
#endif
117117

118-
static inline uint32_t hash_mix32_2(uint32_t a, uint32_t b)
118+
static inline uint32 hash_mix32_2(uint32 a, uint32 b)
119119
{
120120
b ^= (a<<7)|(a>>25);
121121
a *= 0xdeadbeef;

0 commit comments

Comments
 (0)