Help save net neutrality! Learn more.

lzma_allocator * should be const

  • Jan Kratochvil

    Jan Kratochvil - 2012-07-05

    Providing a patch so that callers can define:
    static const lzma_allocator my_allocator = { a, b, NULL };
    and pass &lzma_allocator afterwards.

  • Lasse Collin

    Lasse Collin - 2012-07-17

    Thanks. I have committed it. It will be in 5.1.3alpha. I currently think that I won't include it into v5.0 since it isn't really a bug fix.


Log in to post a comment.