aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/common/common.h')
-rw-r--r--src/liblzma/common/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/common.h b/src/liblzma/common/common.h
index ca75d506..de252604 100644
--- a/src/liblzma/common/common.h
+++ b/src/liblzma/common/common.h
@@ -240,9 +240,9 @@ do { \
/// next->init to func is still OK.
#define lzma_next_coder_init(func, next, allocator) \
do { \
- if ((uintptr_t)(&func) != (next)->init) \
+ if ((uintptr_t)(func) != (next)->init) \
lzma_next_end(next, allocator); \
- (next)->init = (uintptr_t)(&func); \
+ (next)->init = (uintptr_t)(func); \
} while (0)