You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Use uint variant to store enum in verifyProtocol().
Avoid the need for a cast by using a matching type. Found on MacOS M1.
This commit is contained in:
@@ -43,7 +43,7 @@ verifyProtocol(const String *command, const VariantList *paramList, ProtocolServ
|
||||
varUInt64(varLstGet(paramList, 2)), // File size
|
||||
varStr(varLstGet(paramList, 3))); // Cipher pass
|
||||
|
||||
protocolServerResponse(server, varNewInt(result));
|
||||
protocolServerResponse(server, VARUINT(result));
|
||||
}
|
||||
else
|
||||
found = false;
|
||||
|
||||
Reference in New Issue
Block a user