From 33c1327d40beef12f3c5a4353c360e964a0c9056 Mon Sep 17 00:00:00 2001 From: Nat! Date: Tue, 30 Jan 2024 14:57:34 +0100 Subject: [PATCH] fix error on windows --- src/mulle-indexedstorage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mulle-indexedstorage.h b/src/mulle-indexedstorage.h index 110e8ba..c8d2c29 100644 --- a/src/mulle-indexedstorage.h +++ b/src/mulle-indexedstorage.h @@ -74,7 +74,7 @@ static inline void struct mulle_allocator *allocator; void *index_1; - index_1 = (void *) (uintptr_t) index + 1; + index_1 = (void *) (uintptr_t) (index + 1); assert( index < mulle_structarray_get_count( &alloc->_structs)); assert( mulle__pointerarray_find( &alloc->_freed, index_1) == mulle_not_found_e); @@ -94,7 +94,7 @@ static inline void * _mulle_indexedstorage_get( struct mulle_indexedstorage *alloc, unsigned int index) { assert( index < mulle_structarray_get_count( &alloc->_structs)); - assert( mulle__pointerarray_find( &alloc->_freed, (void *) (uintptr_t) index + 1) == mulle_not_found_e); + assert( mulle__pointerarray_find( &alloc->_freed, (void *) (uintptr_t) (index + 1)) == mulle_not_found_e); return( _mulle_structarray_get( &alloc->_structs, (unsigned int) index)); }