Stefan Weil 6cbfb86f4c elf-loader: Fix truncation warning from coverity
Coverity reports a truncation due to cast operation on operand
reltab->sh_size from 64 bits to 32 bits for calls of load_at.

Fix the types of the function arguments to match their use in
function load_at: the offset is used for lseek which takes an
off_t parameter, the size is used for g_malloc and read.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-03-19 11:36:52 +03:00
..
2015-03-19 11:11:55 +03:00
2015-03-19 11:11:55 +03:00
2015-03-19 11:11:55 +03:00
2015-03-19 11:11:55 +03:00
2015-03-10 14:01:22 +00:00
2015-03-12 15:49:57 +01:00
2015-03-10 17:07:28 +01:00
2015-03-19 11:11:55 +03:00
2015-03-12 09:13:07 +00:00
2015-03-12 09:13:07 +00:00
2015-03-19 11:11:55 +03:00
2015-03-11 08:44:59 +00:00
2015-03-19 11:11:55 +03:00
2015-03-10 17:07:28 +01:00
2015-03-11 18:24:13 +01:00
2015-03-10 08:15:33 +03:00