aboutsummaryrefslogtreecommitdiff
path: root/target-m68k
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-03-14 09:37:08 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2015-03-19 11:36:52 +0300
commit6cbfb86f4c0ea7cbe852c7bc62a4ef523887c143 (patch)
treea76fd07c4ddf50fdb8213d183425f5f9fc9426ae /target-m68k
parentb76d799ea5ba233a768939c3192105099f84798d (diff)
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>
Diffstat (limited to 'target-m68k')
0 files changed, 0 insertions, 0 deletions