mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Remove unnecessary casts
Some code carefully cast all data buffer arguments for data write and read function calls to void *, even though the respective arguments are already void *. Remove this unnecessary clutter. Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com
This commit is contained in:
@@ -2908,7 +2908,7 @@ markrunend(LogicalTape *tape)
|
||||
{
|
||||
unsigned int len = 0;
|
||||
|
||||
LogicalTapeWrite(tape, (void *) &len, sizeof(len));
|
||||
LogicalTapeWrite(tape, &len, sizeof(len));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user