use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: source/NamedPointer.cpp
- Revision:
- 38:bb6d2be4d54c
- Parent:
- 27:b8aaf7dc7023
- Child:
- 45:db754b994deb
diff -r 2a5d98881956 -r bb6d2be4d54c source/NamedPointer.cpp --- a/source/NamedPointer.cpp Tue Jun 14 19:56:47 2016 +0000 +++ b/source/NamedPointer.cpp Tue Jun 14 20:18:30 2016 +0000 @@ -64,7 +64,7 @@ void *NamedPointer::copyList(void *list) { NamedPointerList *npl = new NamedPointerList(); NamedPointerList *tmp_list = (NamedPointerList *)list; - for(int i=0;tmp_list != NULL && i<tmp_list->size();++i) { + for(int i=0;tmp_list != NULL && i<(int)tmp_list->size();++i) { npl->push_back(tmp_list->at(i)); } return (void *)npl;