diff options
Diffstat (limited to 'src/lib/utils/rounding.h')
-rw-r--r-- | src/lib/utils/rounding.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/rounding.h b/src/lib/utils/rounding.h index a06626b88..a03e3a4ee 100644 --- a/src/lib/utils/rounding.h +++ b/src/lib/utils/rounding.h @@ -20,7 +20,7 @@ namespace Botan { */ inline size_t round_up(size_t n, size_t align_to) { - BOTAN_ASSERT(align_to != 0, "align_to must not be 0"); + BOTAN_ARG_CHECK(align_to != 0, "align_to must not be 0"); if(n % align_to) n += align_to - (n % align_to); |