Commit d3b74cdc authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3773 from ilya-lavrenov:warning

parents f38339c0 ffc453eb
...@@ -329,7 +329,7 @@ struct HWFeatures ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment