Fix signedness warning

This commit is contained in:
Eelco Dolstra 2018-10-27 13:07:26 +02:00
parent 63575ffa38
commit 0c61515be1
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -91,7 +91,7 @@ struct CmdDoctor : StoreCommand
void checkStoreProtocol(unsigned int storeProto) 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 ? SERVE_PROTOCOL_VERSION
: PROTOCOL_VERSION; : PROTOCOL_VERSION;