Cast -1 to Elf_Half explicitly to suppress Visual Studio warning

This commit is contained in:
Pavel I. Kryukov 2018-07-20 18:27:30 +03:00 committed by Serge Lamikhov-Center
parent 6a2e8c78b0
commit e4abc190d6

View File

@ -149,7 +149,7 @@ class segment_impl : public segment
return sections[num];
}
return -1;
return Elf_Half(-1);
}
//------------------------------------------------------------------------------