commit | 3778db1be53e61ff285c573af5ee468803008456 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Tue Jul 17 18:19:59 2012 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Tue Jul 17 18:19:59 2012 +0300 |
tree | 1ee980d695880a3c9195fbb7caaae6dbc97d3b5e | |
parent | d625c7cf824fd3b61c6da84f56179e94917ff603 [diff] |
liblzma: Make the use of lzma_allocator const-correct. There is a tiny risk of causing breakage: If an application assigns lzma_stream.allocator to a non-const pointer, such code won't compile anymore. I don't know why anyone would do such a thing though, so in practice this shouldn't cause trouble. Thanks to Jan Kratochvil for the patch.