diff --git a/src/builtin.cpp b/src/builtin.cpp index d888eff51..9eca55180 100644 --- a/src/builtin.cpp +++ b/src/builtin.cpp @@ -222,7 +222,7 @@ static int builtin_generic(parser_t &parser, io_streams_t &streams, wchar_t **ar // How many bytes we read() at once. // Since this is just for counting, it can be massive. -#define COUNT_CHUNK_SIZE 512 * 256 +#define COUNT_CHUNK_SIZE (512 * 256) /// Implementation of the builtin count command, used to count the number of arguments sent to it. static int builtin_count(parser_t &parser, io_streams_t &streams, wchar_t **argv) { UNUSED(parser); diff --git a/src/screen.cpp b/src/screen.cpp index 049735fc4..ed8668fa7 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -47,7 +47,7 @@ #define INDENT_STEP 4u /// The initial screen width. -#define SCREEN_WIDTH_UNINITIALIZED -1 +#define SCREEN_WIDTH_UNINITIALIZED (-1) /// A helper value for an invalid location. #define INVALID_LOCATION (screen_data_t::cursor_t(-1, -1))