apparently 0 isn't O. I've been lied to for years.

This commit is contained in:
Alcaro 2016-06-27 21:44:14 +02:00
parent 996f9a59b7
commit 792008d558

View File

@ -305,7 +305,7 @@ static void fft_step(glfft_t *fft,
static inline unsigned log2i(unsigned x)
{
if (x==0) return 0xBAADFOOD; // shouldn't happen
if (x==0) return 0xBADF00D4U; // shouldn't happen
unsigned res;
for (res = 0; x; x >>= 1)