Fri, 26 Feb 2016 16:22:20 +0100
removed dependency to stdint.h in stack header
ucx/stack.h | file | annotate | diff | comparison | revisions |
--- a/ucx/stack.h Fri Feb 26 16:00:18 2016 +0100 +++ b/ucx/stack.h Fri Feb 26 16:22:20 2016 +0100 @@ -39,7 +39,6 @@ #define UCX_STACK_H #include "ucx.h" -#include <stdint.h> #include "allocator.h" #ifdef __cplusplus @@ -179,7 +178,7 @@ * @see ucx_stack_free * @see ucx_stack_popn */ -#define ucx_stack_pop(stack, dest) ucx_stack_popn(stack, dest, SIZE_MAX) +#define ucx_stack_pop(stack, dest) ucx_stack_popn(stack, dest, (size_t)-1) /** * Removes the top most element from the stack and copies the content to <code>