From e2c9f234e1a3a657595d61996e376cf799f0a54b Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 29 Sep 2020 10:27:07 -0700 Subject: svm: fix max fifo size Type: fix Signed-off-by: Florin Coras Change-Id: I52ac28ed6d420f03852a425b5a16a7eb8e94b628 --- src/svm/fifo_segment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/svm') diff --git a/src/svm/fifo_segment.h b/src/svm/fifo_segment.h index ee5c24d04bb..d3ce59c81b5 100644 --- a/src/svm/fifo_segment.h +++ b/src/svm/fifo_segment.h @@ -29,7 +29,7 @@ typedef enum #define FIFO_SEGMENT_MIN_LOG2_FIFO_SIZE 12 /**< 4kB min fifo size */ #define FIFO_SEGMENT_MIN_FIFO_SIZE 4096 /**< 4kB min fifo size */ -#define FIFO_SEGMENT_MAX_FIFO_SIZE (2 << 30) /**< 2GB max fifo size */ +#define FIFO_SEGMENT_MAX_FIFO_SIZE (2ULL << 30) /**< 2GB max fifo size */ #define FIFO_SEGMENT_ALLOC_BATCH_SIZE 32 /* Allocation quantum */ typedef enum fifo_segment_flags_ -- cgit 1.2.3-korg