diff options
Diffstat (limited to 'src/privet/privet_handler.cc')
-rw-r--r-- | src/privet/privet_handler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/privet/privet_handler.cc b/src/privet/privet_handler.cc index 42a1c23..ada9f44 100644 --- a/src/privet/privet_handler.cc +++ b/src/privet/privet_handler.cc @@ -711,7 +711,8 @@ void PrivetHandler::HandleAuth(const base::DictionaryValue& input, return ReturnError(*error, callback); } - CHECK_LE(access_token_scope, desired_scope); + CHECK_LE(static_cast<int32_t>(access_token_scope), + static_cast<int32_t>(desired_scope)); if (access_token_scope < acceptable_scope) { Error::AddToPrintf(&error, FROM_HERE, errors::kAccessDenied, |