diff options
author | David Robillard <d@drobilla.net> | 2025-02-10 12:56:29 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-02-10 12:56:29 -0500 |
commit | cdc8eb7ad393c049d3fdf520c6fd1475d33c3a73 (patch) | |
tree | 5ff20bdce685a00093612447fad225992ec994ad /src/errno_status.c | |
parent | 630768c2e42098f42aefe96ad9acf10a935cf7ac (diff) | |
download | zix-cdc8eb7ad393c049d3fdf520c6fd1475d33c3a73.tar.gz zix-cdc8eb7ad393c049d3fdf520c6fd1475d33c3a73.tar.bz2 zix-cdc8eb7ad393c049d3fdf520c6fd1475d33c3a73.zip |
Fully parenthesize expressions
Diffstat (limited to 'src/errno_status.c')
-rw-r--r-- | src/errno_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errno_status.c b/src/errno_status.c index d992d02..ed09b24 100644 --- a/src/errno_status.c +++ b/src/errno_status.c @@ -41,7 +41,7 @@ zix_errno_status(const int e) {0, ZIX_STATUS_ERROR}, // Fallback mapping }; - static const size_t n_mappings = sizeof(map) / sizeof(Mapping) - 1U; + static const size_t n_mappings = (sizeof(map) / sizeof(Mapping)) - 1U; // Find the index of the matching mapping (or leave it at the fallback entry) size_t m = 0; |