Remove a useless cast to (void *) in hash_search() call
This pattern was previously cleaned up in 54a177a948b, but a new instance snuck in around the same time in 31966b151e6.
This commit is contained in:
parent
13e3796c90
commit
a274bbb1b3
@ -379,7 +379,7 @@ ExtendBufferedRelLocal(BufferManagerRelation bmr,
|
||||
InitBufferTag(&tag, &bmr.smgr->smgr_rlocator.locator, fork, first_block + i);
|
||||
|
||||
hresult = (LocalBufferLookupEnt *)
|
||||
hash_search(LocalBufHash, (void *) &tag, HASH_ENTER, &found);
|
||||
hash_search(LocalBufHash, &tag, HASH_ENTER, &found);
|
||||
if (found)
|
||||
{
|
||||
BufferDesc *existing_hdr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user