Skip to content

Commit 8c64c95

Browse files
authored
Remove erroneous cast to size_t in BID_HASH_FUNC
It were mistakenly remain after change of BID_HASH_FUNC meaning
1 parent 68e0644 commit 8c64c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ typedef PtrackMapHdr * PtrackMap;
8686
/* Block address 'bid' to hash. To get slot position in map should be divided
8787
* with '% PtrackContentNblocks' */
8888
#define BID_HASH_FUNC(bid) \
89-
(size_t)(DatumGetUInt64(hash_any_extended((unsigned char *)&bid, sizeof(bid), 0)))
89+
(DatumGetUInt64(hash_any_extended((unsigned char *)&bid, sizeof(bid), 0)))
9090

9191
/*
9292
* Per process pointer to shared ptrack_map

0 commit comments

Comments
 (0)