mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-11-28 09:33:54 +02:00
PGPRO-552: use uint32 in some places
This commit is contained in:
parent
a04f00aacc
commit
279c98140f
@ -2357,7 +2357,7 @@ remove_excluded_files_criterion(void *value, void *exclude_args) {
|
||||
return file->remove_from_list;
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
static uint32
|
||||
hash_rel_seg(pgFile* file)
|
||||
{
|
||||
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
|
||||
pgFile *prev_file;
|
||||
pgFile *tmp_file;
|
||||
char *cfs_tblspc_path;
|
||||
uint32_t h;
|
||||
uint32 h;
|
||||
|
||||
/* hash table for cfm files */
|
||||
#define HASHN 128
|
||||
|
@ -115,7 +115,7 @@ extern int usleep(unsigned int usec);
|
||||
#define ARG_SIZE_HINT static
|
||||
#endif
|
||||
|
||||
static inline uint32_t hash_mix32_2(uint32_t a, uint32_t b)
|
||||
static inline uint32 hash_mix32_2(uint32 a, uint32 b)
|
||||
{
|
||||
b ^= (a<<7)|(a>>25);
|
||||
a *= 0xdeadbeef;
|
||||
|
Loading…
Reference in New Issue
Block a user