fixed [-Wsign-compare] warning

This commit is contained in:
Ilya Lavrenov 2015-03-02 16:41:06 +03:00
parent 5850a9b8c3
commit ffc453ebfd

View File

@ -329,7 +329,7 @@ struct HWFeatures
Elf32_auxv_t auxv;
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)
{