Index: src/liblzma/common/common.h |
=================================================================== |
--- src/liblzma/common/common.h (revision 50504) |
+++ src/liblzma/common/common.h (working copy) |
@@ -205,7 +205,7 @@ |
/// Allocates memory |
extern void *lzma_alloc(size_t size, lzma_allocator *allocator) |
- lzma_attribute((malloc)); |
+ lzma_attribute((__malloc__)) lzma_attr_alloc_size(1); |
/// Frees memory |
extern void lzma_free(void *ptr, lzma_allocator *allocator); |