summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/memory_chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/memory_chunk.h b/src/include/memory_chunk.h
index 83b8ad9..044fa0d 100644
--- a/src/include/memory_chunk.h
+++ b/src/include/memory_chunk.h
@@ -60,7 +60,7 @@ private:
char * m_allocated; //one data pass the end.
free_func_t m_free_func;
- const guint32 header = sizeof(guint32) * 2;
+ const gint32 header = sizeof(guint32) * 2;
private:
void freemem(){