From 286783e880674ef709f653af19a1c12d1c518bee Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 23 Oct 2018 22:36:23 -0400 Subject: [PATCH] Accepts GCC's suggestion of extra clarity brackets. --- Components/9918/Implementation/9918Base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/9918/Implementation/9918Base.hpp b/Components/9918/Implementation/9918Base.hpp index 6417b0837..645a4ed4f 100644 --- a/Components/9918/Implementation/9918Base.hpp +++ b/Components/9918/Implementation/9918Base.hpp @@ -733,12 +733,12 @@ class Base { size_t sub_row[2]; }; const RowInfo scrolled_row_info = { - pattern_name_address & size_t(((scrolled_row & ~7) << 3) | 0x3800) - pattern_name_offset, + (pattern_name_address & size_t(((scrolled_row & ~7) << 3) | 0x3800)) - pattern_name_offset, {static_cast((scrolled_row & 7) << 2), 28 ^ static_cast((scrolled_row & 7) << 2)} }; RowInfo row_info; if(master_system_.vertical_scroll_lock) { - row_info.pattern_address_base = pattern_name_address & size_t(((write_pointer_.row & ~7) << 3) | 0x3800) - pattern_name_offset; + (row_info.pattern_address_base = pattern_name_address & size_t(((write_pointer_.row & ~7) << 3) | 0x3800)) - pattern_name_offset; row_info.sub_row[0] = size_t((write_pointer_.row & 7) << 2); row_info.sub_row[1] = 28 ^ size_t((write_pointer_.row & 7) << 2); } else row_info = scrolled_row_info;