Skip to content

Commit 32ed66a

Browse files
committed
the frexp expects int* for the exp parameter
change the variable to int it is useful where the int32_t and the int are considered different types, like the rpi2 this supposedly fixes the build: probonopd/MiniDexed#750
1 parent cb7ad15 commit 32ed66a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compressor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ class Compressor
400400
//float *C = &log2f_approx_coeff[0];
401401
float Y;
402402
float F;
403-
int32_t E;
403+
int E;
404404

405405
// This is the approximation to log2()
406406
F = frexpf(fabsf(X), &E);

0 commit comments

Comments
 (0)