ucx/stack.h

changeset 217
e056e4e0b08e
parent 192
1e51558b9d09
child 225
a1a068c2c4ef
     1.1 --- a/ucx/stack.h	Fri Feb 26 16:00:18 2016 +0100
     1.2 +++ b/ucx/stack.h	Fri Feb 26 16:22:20 2016 +0100
     1.3 @@ -39,7 +39,6 @@
     1.4  #define	UCX_STACK_H
     1.5  
     1.6  #include "ucx.h"
     1.7 -#include <stdint.h>
     1.8  #include "allocator.h"
     1.9  
    1.10  #ifdef	__cplusplus
    1.11 @@ -179,7 +178,7 @@
    1.12   * @see ucx_stack_free
    1.13   * @see ucx_stack_popn
    1.14   */
    1.15 -#define ucx_stack_pop(stack, dest) ucx_stack_popn(stack, dest, SIZE_MAX)
    1.16 +#define ucx_stack_pop(stack, dest) ucx_stack_popn(stack, dest, (size_t)-1)
    1.17  
    1.18  /**
    1.19   * Removes the top most element from the stack and copies the content to <code>

mercurial