mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixed compilation warning
This commit is contained in:
@@ -68,7 +68,7 @@ SocketServer::Session * TransporterService::newSession(NDB_SOCKET_TYPE sockfd)
|
||||
}
|
||||
|
||||
//check that nodeid is valid and that there is an allocated transporter
|
||||
if ( nodeId < 0 || nodeId >= m_transporter_registry->maxTransporters) {
|
||||
if ( nodeId < 0 || nodeId >= (int) m_transporter_registry->maxTransporters) {
|
||||
NDB_CLOSE_SOCKET(sockfd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user