Skip to content

Commit ba29a2e

Browse files
committed
Remove warning.
1 parent 0d88875 commit ba29a2e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/memory/include/memory/memory_allocator_nginx_impl.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
extern "C" {
3232
#endif
3333

34+
/* -- Headers -- */
35+
36+
#include <stdint.h>
37+
3438
/* -- Forward Declarations -- */
3539

3640
struct memory_allocator_nginx_ctx_type;
@@ -41,7 +45,7 @@ typedef void * (*memory_allocator_nginx_impl_palloc)(void *, size_t);
4145

4246
typedef void * (*memory_allocator_nginx_impl_pcopy)(void *, const void *, size_t);
4347

44-
typedef int (*memory_allocator_nginx_impl_pfree)(void *, void *);
48+
typedef intptr_t (*memory_allocator_nginx_impl_pfree)(void *, void *);
4549

4650
typedef struct memory_allocator_nginx_ctx_type * memory_allocator_nginx_ctx;
4751

0 commit comments

Comments
 (0)