summaryrefslogtreecommitdiff
path: root/include/compression/warnmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compression/warnmalloc.h')
-rw-r--r--include/compression/warnmalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/compression/warnmalloc.h b/include/compression/warnmalloc.h
index 4444271..aa63111 100644
--- a/include/compression/warnmalloc.h
+++ b/include/compression/warnmalloc.h
@@ -14,11 +14,11 @@
#include "../compression/tng_compress.h"
-void DECLSPECDLLEXPORT *Ptngc_warnmalloc_x(size_t size, char *file, int line);
+void DECLSPECDLLEXPORT *Ptngc_warnmalloc_x(const size_t size, char *file, const int line);
#define warnmalloc(size) Ptngc_warnmalloc_x(size,__FILE__,__LINE__)
-void DECLSPECDLLEXPORT *Ptngc_warnrealloc_x(void *old, size_t size, char *file, int line);
+void DECLSPECDLLEXPORT *Ptngc_warnrealloc_x(void *old, const size_t size, char *file, const int line);
#define warnrealloc(old,size) Ptngc_warnrealloc_x(old,size,__FILE__,__LINE__)
contact: Jan Huwald // Impressum