summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-02-14 14:50:38 +0800
committerPeng Wu <alexepico@gmail.com>2017-02-14 14:50:38 +0800
commitb9e6a9690f214f525e057194b9eb234d76436eda (patch)
treedeb5dd0176f5f0a96fb732abcb7e2cb01c8a84ad
parentd4372bf3c14617ec9b5187677a58b5db04e01389 (diff)
downloadlibpinyin-b9e6a9690f214f525e057194b9eb234d76436eda.zip
libpinyin-b9e6a9690f214f525e057194b9eb234d76436eda.tar.gz
libpinyin-b9e6a9690f214f525e057194b9eb234d76436eda.tar.xz
fixes warnings
-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(){