1
0
mirror of https://github.com/xzeldon/htop.git synced 2025-04-16 23:15:44 +03:00

Enclose CLAMP macro arguments in parentheses

This commit is contained in:
Christian Göttsche 2020-10-06 11:39:27 +02:00 committed by cgzones
parent db472075a4
commit db159e7580

@ -10,7 +10,7 @@
#endif
#ifndef CLAMP
#define CLAMP(x, low, high) (assert(low < high), ((x) > (high)) ? (high) : MAXIMUM(x, low))
#define CLAMP(x, low, high) (assert((low) < (high)), ((x) > (high)) ? (high) : MAXIMUM(x, low))
#endif
#ifndef ARRAYSIZE