diff options
author | midipix <writeonce@midipix.org> | 2015-08-03 08:43:10 +0300 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-09-26 11:10:13 -0400 |
commit | 8860e903f5d0782e050d78725aadedeb8dad9a0c (patch) | |
tree | c68deae9f255eaba8ac6884a731dc765ca420161 /src/internal/pe_impl.h | |
parent | ee0bd46d1e2f157f5eb54ca6d506d61dc6feea9d (diff) | |
download | pemagine-8860e903f5d0782e050d78725aadedeb8dad9a0c.tar.bz2 pemagine-8860e903f5d0782e050d78725aadedeb8dad9a0c.tar.xz |
pe_impl_strlen_ansi: fix internal error reporting via signedness.
Diffstat (limited to 'src/internal/pe_impl.h')
-rw-r--r-- | src/internal/pe_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/pe_impl.h b/src/internal/pe_impl.h index 392f6b2..43ec6ef 100644 --- a/src/internal/pe_impl.h +++ b/src/internal/pe_impl.h @@ -12,6 +12,6 @@ struct pe_block { uint32_t size; }; -uint32_t pe_impl_strlen_ansi(const char * str); -uint32_t pe_impl_strlen_utf16(const wchar16_t * str); +int32_t pe_impl_strlen_ansi(const char * str); +int32_t pe_impl_strlen_utf16(const wchar16_t * str); wchar16_t pe_impl_utf16_char_to_lower(const wchar16_t c); |