alliedmodders / metamod-source

Metamod:Source - C++ Plugin Environment and Detour Library for the Source Engine
http://www.metamodsource.net/
Other
383 stars 87 forks source link

Fix integer signedness warning in provider_source2.cpp #141

Closed noahbkim closed 11 months ago

noahbkim commented 11 months ago

/work/vendor/metamod-source/core/provider/source2/provider_source2.cpp:115:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Werror=sign-compare]
  115 |  for(int id = 0; id < (sizeof(pathIds) / sizeof(pathIds[0])); id++)
      |                  ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors```
psychonic commented 11 months ago

Thanks