mirror of
https://github.com/NixOS/nix.git
synced 2024-11-29 18:22:27 +00:00
Fix signedness warning
This commit is contained in:
parent
63575ffa38
commit
0c61515be1
@ -91,7 +91,7 @@ struct CmdDoctor : StoreCommand
|
||||
|
||||
void checkStoreProtocol(unsigned int storeProto)
|
||||
{
|
||||
auto clientProto = GET_PROTOCOL_MAJOR(SERVE_PROTOCOL_VERSION) == GET_PROTOCOL_MAJOR(storeProto)
|
||||
unsigned int clientProto = GET_PROTOCOL_MAJOR(SERVE_PROTOCOL_VERSION) == GET_PROTOCOL_MAJOR(storeProto)
|
||||
? SERVE_PROTOCOL_VERSION
|
||||
: PROTOCOL_VERSION;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user