diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-03-25 17:06:40 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-03-25 17:06:40 (GMT) |
commit | a357f434f06de70e5d670b8669becccb09f4c7a6 (patch) | |
tree | 0788b37b46dc45c6744e1ad1f4435a77140012b4 /lib/lz4.c | |
parent | 4a9335bd605421218e3cc87dc77c4634051469eb (diff) | |
download | lz4-a357f434f06de70e5d670b8669becccb09f4c7a6.zip lz4-a357f434f06de70e5d670b8669becccb09f4c7a6.tar.gz lz4-a357f434f06de70e5d670b8669becccb09f4c7a6.tar.bz2 |
Fixed cast-align warnings on 32-bits
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1321,7 +1321,7 @@ void* LZ4_create (const char* inputBuffer) char* LZ4_slideInputBuffer (void* LZ4_Data) { LZ4_stream_t_internal* ctx = (LZ4_stream_t_internal*)LZ4_Data; - int dictSize = LZ4_saveDict((LZ4_stream_t*)ctx, (char*)ctx->bufferStart, 64 KB); + int dictSize = LZ4_saveDict((LZ4_stream_t*)LZ4_Data, (char*)ctx->bufferStart, 64 KB); return (char*)(ctx->bufferStart + dictSize); } |