summaryrefslogtreecommitdiffhomepage
path: root/src/exports
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-08-03 08:43:10 +0300
committermidipix <writeonce@midipix.org>2015-09-26 11:10:13 -0400
commit8860e903f5d0782e050d78725aadedeb8dad9a0c (patch)
treec68deae9f255eaba8ac6884a731dc765ca420161 /src/exports
parentee0bd46d1e2f157f5eb54ca6d506d61dc6feea9d (diff)
downloadpemagine-8860e903f5d0782e050d78725aadedeb8dad9a0c.tar.bz2
pemagine-8860e903f5d0782e050d78725aadedeb8dad9a0c.tar.xz
pe_impl_strlen_ansi: fix internal error reporting via signedness.
Diffstat (limited to 'src/exports')
-rw-r--r--src/exports/pe_get_export_symbol_info.c2
1 files changed, 1 insertions, 1 deletions
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;