use TCP to connect to mbed connector

Fork of mbedConnectorInterfaceWithDM by Doug Anson

Revision:
38:bb6d2be4d54c
Parent:
33:1d0b855df5a5
Child:
45:db754b994deb
--- a/source/ObjectInstanceManager.cpp	Tue Jun 14 19:56:47 2016 +0000
+++ b/source/ObjectInstanceManager.cpp	Tue Jun 14 20:18:30 2016 +0000
@@ -138,7 +138,7 @@
 NamedPointer *ObjectInstanceManager::getNamedPointer(const char *id,NamedPointerList *list) {
     NamedPointer *result = NULL;
     bool found = false;
-    for(int i=0;list != NULL && i<list->size() && !found;++i) {
+    for(int i=0;list != NULL && i<(int)list->size() && !found;++i) {
         char *tmp_id = (char *)list->at(i).name().c_str();
         if (id != NULL && tmp_id != NULL && strcmp(id,tmp_id) == 0) {
             found = true;