summaryrefslogtreecommitdiffhomepage
path: root/src/internal/pe_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/pe_impl.h')
-rw-r--r--src/internal/pe_impl.h4
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;