From 5d9c488253f379e4f71076730e628375dbe3558e Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 13 Dec 2016 06:01:21 +0000 Subject: pe_impl_strlen_{ansi|utf16}(): provide smooth foreign toolchain support. --- src/internal/pe_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/internal') 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; -- cgit v1.2.3