summaryrefslogtreecommitdiff
path: root/ndb/src/common/transporter/TransporterRegistry.cpp
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2004-09-15 09:29:56 +0200
committerunknown <mskold@mysql.com>2004-09-15 09:29:56 +0200
commit656755c43740ebabfe28885689508c7dafe6e10a (patch)
treefede1fe9312ceb978df0e3ef7fb8d07121a3943b /ndb/src/common/transporter/TransporterRegistry.cpp
parentbdc21869b01495636a6eec5d07202469e8949aa3 (diff)
downloadmariadb-git-656755c43740ebabfe28885689508c7dafe6e10a.tar.gz
Fixed compilation warning
Diffstat (limited to 'ndb/src/common/transporter/TransporterRegistry.cpp')
-rw-r--r--ndb/src/common/transporter/TransporterRegistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/common/transporter/TransporterRegistry.cpp b/ndb/src/common/transporter/TransporterRegistry.cpp
index 01f1f74f053..023b30eba62 100644
--- a/ndb/src/common/transporter/TransporterRegistry.cpp
+++ b/ndb/src/common/transporter/TransporterRegistry.cpp
@@ -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;
}