Skip to content

Commit

Permalink
libutils: util.h: fix indentation of ROUNDDOWN() macro
Browse files Browse the repository at this point in the history
Fix indentation of the value defined for ROUNDDOWN() macro.

Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
etienne-lms committed Dec 16, 2024
1 parent 14127d3 commit bd989c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libutils/ext/include/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
(_x + (_y / 2)) / _y; }))
#else
#define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y))
#define ROUNDDOWN(x, y) (((x) / (y)) * (y))
#define ROUNDDOWN(x, y) (((x) / (y)) * (y))
#define UDIV_ROUND_NEAREST(x, y) (((x) + ((y) / 2)) / (y))
#endif

Expand Down

0 comments on commit bd989c4

Please sign in to comment.