BridgesUNCC / bridges-cxx

C++ client library for Bridges
http://bridgesuncc.github.io
2 stars 5 forks source link

Compiler throws warning "comparison of integer expressions of different signedness" #73

Closed AlecGoncharow closed 5 years ago

AlecGoncharow commented 5 years ago

https://github.com/krs-world/bridges-cxx/blob/cdab0361a3655684910db3d5172e1a67da564b82/src/Symbol.h#L306

My compiler doesn't like this line

warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
      for (int i = 0; i < geom_properties.points->size(); i += 2) {