diff options
author | Peng Wu <alexepico@gmail.com> | 2017-02-14 14:50:38 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2017-02-14 14:50:38 +0800 |
commit | b9e6a9690f214f525e057194b9eb234d76436eda (patch) | |
tree | deb5dd0176f5f0a96fb732abcb7e2cb01c8a84ad /src/include/memory_chunk.h | |
parent | d4372bf3c14617ec9b5187677a58b5db04e01389 (diff) | |
download | libpinyin-b9e6a9690f214f525e057194b9eb234d76436eda.tar.gz |
fixes warnings
Diffstat (limited to 'src/include/memory_chunk.h')
-rw-r--r-- | src/include/memory_chunk.h | 2 |
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(){ |