From 3d26418b3d1abb8ad62d9b7677f65c3c7e4e18e5 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Tue, 16 Jun 2020 14:32:43 -0400 Subject: [PATCH] Fix #509, Remove uintmax_t usage Some systems may not provide this type. Using "unsigned long" instead should be sufficient. --- ut_assert/src/utstubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ut_assert/src/utstubs.c b/ut_assert/src/utstubs.c index 2e660f23a..cb3b9def1 100644 --- a/ut_assert/src/utstubs.c +++ b/ut_assert/src/utstubs.c @@ -599,7 +599,7 @@ const void* UT_Hook_GetArgPtr(const UT_StubContext_t *ContextPtr, const char *Na static const union { - uintmax_t AsInt; + unsigned long AsInt; void *AsPtr; double AsFloat; } ARG_DEFAULT_ZERO_VALUE = { 0 };