fixed [-Wsign-compare] warning

pull/3773/head
Ilya Lavrenov 10 years ago
parent 5850a9b8c3
commit ffc453ebfd
  1. 2
      modules/core/src/system.cpp

@ -329,7 +329,7 @@ struct HWFeatures
Elf32_auxv_t auxv; Elf32_auxv_t auxv;
const size_t size_auxv_t = sizeof(Elf32_auxv_t); const size_t size_auxv_t = sizeof(Elf32_auxv_t);
while (read(cpufile, &auxv, sizeof(Elf32_auxv_t)) == size_auxv_t) while ((size_t)read(cpufile, &auxv, sizeof(Elf32_auxv_t)) == size_auxv_t)
{ {
if (auxv.a_type == AT_HWCAP) if (auxv.a_type == AT_HWCAP)
{ {

Loading…
Cancel
Save