From be831dc98c2c33ab6be245e6ef126451b909528a Mon Sep 17 00:00:00 2001 From: Ivan <5627721+abyss7@users.noreply.github.com> Date: Thu, 25 Apr 2019 18:44:08 +0300 Subject: [PATCH] Fix compilation --- snappy-stubs-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h index c70a84a..3b7dd9e 100644 --- a/snappy-stubs-internal.h +++ b/snappy-stubs-internal.h @@ -469,7 +469,7 @@ inline int Bits::Log2FloorNonZero(uint32 n) { } inline int Bits::Log2Floor(uint32 n) { - return (n == 0) ? -1 : Bits::Log2FloorNonZero(arg); + return (n == 0) ? -1 : Bits::Log2FloorNonZero(n); } inline int Bits::FindLSBSetNonZero(uint32 n) {