MacOSX port, warnings removed

This commit is contained in:
Matej Sekoranja
2010-12-18 20:53:17 +01:00
parent e40e183884
commit 0e1fd21ffc
5 changed files with 14 additions and 9 deletions
+2 -2
View File
@@ -123,11 +123,11 @@ namespace epics {
#ifdef ARRAY_FIFO_DEBUG
void debugState() {
size_t mask = _size-1;
//size_t mask = _size-1;
std::cout<<"h:"<<_head<<",t:"<<_tail<<",c:"<<_size;
std::cout<<",s:"<<size()<<std::endl;
std::cout<<"Content:"<<std::endl;
for (int i = 0; i < _size; i++)
for (size_t i = 0; i < _size; i++)
std::cout<<"["<<i<<"]: "<<_elements[i]<<std::endl;
}
#endif