From 8860e903f5d0782e050d78725aadedeb8dad9a0c Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 3 Aug 2015 08:43:10 +0300 Subject: pe_impl_strlen_ansi: fix internal error reporting via signedness. --- src/exports/pe_get_export_symbol_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exports') diff --git a/src/exports/pe_get_export_symbol_info.c b/src/exports/pe_get_export_symbol_info.c index 9f00634..4f9f5c6 100644 --- a/src/exports/pe_get_export_symbol_info.c +++ b/src/exports/pe_get_export_symbol_info.c @@ -23,7 +23,7 @@ int pe_get_export_symbol_info( { struct pe_export_hdr * exp_hdr; - size_t len; + ssize_t len; uint32_t * rva_offset; uintptr_t * addr_offset; -- cgit v1.2.3