From 1fb3fa4de80cf661b8a6cfc6b952d740a1f452e6 Mon Sep 17 00:00:00 2001 From: Davide Berardi Date: Sun, 24 Jan 2021 19:06:43 +0100 Subject: [PATCH] Coding style --- snappy-fox.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/snappy-fox.c b/snappy-fox.c index 5d8ad2f..733caf9 100644 --- a/snappy-fox.c +++ b/snappy-fox.c @@ -38,11 +38,10 @@ #define prerror(f...) fprintf(stderr, "[ ERROR ]"), fprintf(stderr, f) /* Logarithm base two of the number */ -static uint32_t log2_32(uint32_t n) -{ +static uint32_t log2_32(uint32_t n) { int32_t i = 0; for (i = 31; i >= 0; --i) { - if (n & (1ul<