From bbefecc2580b07f0ba07c8a86dddad5ac9c45d44 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 21 Oct 2018 07:12:39 +0100 Subject: [PATCH] Update angle_t type. Typically to avoid few overflows. --- src/tables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tables.h b/src/tables.h index 495fd534..f72406da 100644 --- a/src/tables.h +++ b/src/tables.h @@ -78,7 +78,7 @@ extern const byte gammatable[5][256]; #define SLOPEBITS 11 #define DBITS (FRACBITS-SLOPEBITS) -typedef unsigned angle_t; +typedef unsigned int angle_t; // Effective size is 2049;