diff options
author | midipix <writeonce@midipix.org> | 2016-12-13 06:01:21 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-13 11:17:08 -0500 |
commit | 5d9c488253f379e4f71076730e628375dbe3558e (patch) | |
tree | 68a5e7804402a985d0ac1de33b31e0af2e6db840 /src/internal | |
parent | 670ee5215a9f3749b7f986c56c1c6c4f12c31ec7 (diff) | |
download | pemagine-5d9c488253f379e4f71076730e628375dbe3558e.tar.bz2 pemagine-5d9c488253f379e4f71076730e628375dbe3558e.tar.xz |
pe_impl_strlen_{ansi|utf16}(): provide smooth foreign toolchain support.
Diffstat (limited to 'src/internal')
-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 c854824..a316bf3 100644 --- a/src/internal/pe_impl.h +++ b/src/internal/pe_impl.h @@ -19,7 +19,7 @@ struct pe_block { }; -static __inline__ int32_t pe_impl_strlen_ansi(const char * str) +static __inline__ intptr_t pe_impl_strlen_ansi(const char * str) { const char * ch; const char * upper_bound; @@ -35,7 +35,7 @@ static __inline__ int32_t pe_impl_strlen_ansi(const char * str) } -static __inline__ int32_t pe_impl_strlen_utf16(const wchar16_t * str) +static __inline__ intptr_t pe_impl_strlen_utf16(const wchar16_t * str) { const wchar16_t * wch; const wchar16_t * upper_bound; |