diff options
-rw-r--r-- | src/murmur/MurmurGRPCImpl.cpp | 4 | ||||
-rw-r--r-- | src/murmur/MurmurGRPCImpl.h | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/murmur/MurmurGRPCImpl.cpp b/src/murmur/MurmurGRPCImpl.cpp index 24d423fa6..b2e9d5704 100644 --- a/src/murmur/MurmurGRPCImpl.cpp +++ b/src/murmur/MurmurGRPCImpl.cpp @@ -1013,6 +1013,8 @@ void MurmurRPCImpl::textMessageFilter(int &res, const User *user, MumbleProto::T message.set_message(response.message().text()); } break; + default: + break; } } @@ -2113,7 +2115,7 @@ void V1_DatabaseUserUpdate::impl(bool) { if (info.contains(ServerDB::User_Name) || info.contains(ServerDB::User_Comment)) { foreach(::ServerUser *u, server->qhUsers) { - if (u->iId == request.id()) { + if (static_cast<unsigned int>(u->iId) == request.id()) { QString name = u->qsName; QString comment = u->qsComment; if (info.contains(ServerDB::User_Name)) { diff --git a/src/murmur/MurmurGRPCImpl.h b/src/murmur/MurmurGRPCImpl.h index 6dd6dcb17..5cbbd3387 100644 --- a/src/murmur/MurmurGRPCImpl.h +++ b/src/murmur/MurmurGRPCImpl.h @@ -41,12 +41,7 @@ #include <QMultiHash> -#include <grpc/grpc.h> -#include <grpc++/server.h> -#include <grpc++/server_builder.h> -#include <grpc++/server_context.h> -#include <grpc++/server_credentials.h> -#include <grpc++/status.h> +#include <grpc++/grpc++.h> class RPCCall; |