From 1b52e3dcfafc6f8a6602cf4cb50550ebebfd173a Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 28 Jun 2024 08:33:38 +0200 Subject: [PATCH] openblas: fix `BUFFERSIZE` value --- common_x86_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_x86_64.h b/common_x86_64.h index dda168d6c..21cd198f3 100644 --- a/common_x86_64.h +++ b/common_x86_64.h @@ -253,7 +253,7 @@ static __inline unsigned int blas_quickdivide(unsigned int x, unsigned int y){ #ifndef BUFFERSIZE #define BUFFER_SIZE (32 << 22) #else -#define BUFFER_SIZE (32 << BUFFERSIZE) +#define BUFFER_SIZE (32UL << BUFFERSIZE) #endif #define SEEK_ADDRESS