From 7d8eaf2a6ae65e6099852137c542b8806d20edbf Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 26 Mar 2017 13:49:07 +0100 Subject: [PATCH] Changed uint32_t Element member to uintptr_t --- src/pool.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pool.h b/src/pool.h index 52eb8446..9d302307 100644 --- a/src/pool.h +++ b/src/pool.h @@ -77,9 +77,9 @@ namespace etl // The pool element. union Element { - uint32_t next; ///< Index of the next free element. - char value[sizeof(T)]; ///< Storage for value type. - typename etl::type_with_alignment::value>::type dummy; ///< Dummy item to get correct alignment. + uintptr_t next; ///< Pointer to the next free element. + char value[sizeof(T)]; ///< Storage for value type. + typename etl::type_with_alignment::value>::type dummy; ///< Dummy item to get correct alignment. }; ///< The memory for the pool of objects.