summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-24 12:26:12 -0400
committermidipix <writeonce@midipix.org>2018-05-24 12:26:12 -0400
commitda5089a180527db13c7e09231443c5d95311f9ba (patch)
tree7aae3fda6478843c5d5cf80ac094602da2ee91b4
parent13f8222028f2ba47265d21b2feed3025bc7c3020 (diff)
downloadpemagine-da5089a180527db13c7e09231443c5d95311f9ba.tar.bz2
pemagine-da5089a180527db13c7e09231443c5d95311f9ba.tar.xz
ldso: internals: pe_hex_utf16_to_uintptr(): properly support 32-bit targets.
-rw-r--r--src/ldso/pe_get_framework_runtime_data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ldso/pe_get_framework_runtime_data.c b/src/ldso/pe_get_framework_runtime_data.c
index 1fabf40..366e523 100644
--- a/src/ldso/pe_get_framework_runtime_data.c
+++ b/src/ldso/pe_get_framework_runtime_data.c
@@ -114,6 +114,9 @@ static int32_t pe_hex_utf16_to_uintptr(
const wchar16_t hex_key_utf16[],
uintptr_t * key)
{
+ (void)pe_hex_utf16_to_uint32;
+ (void)pe_hex_utf16_to_uint64;
+
#if (__SIZEOF_POINTER__ == 4)
return pe_hex_utf16_to_uint32(hex_key_utf16,key);
#elif (__SIZEOF_POINTER__ == 8)