aboutsummaryrefslogtreecommitdiffstats
path: root/src/zstr_length.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/zstr_length.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zstr_length.c b/src/zstr_length.c
index 869dbc5..7554e78 100644
--- a/src/zstr_length.c
+++ b/src/zstr_length.c
@@ -10,7 +10,7 @@ size_t
zstr_length(z_t a, unsigned long long int radix)
{
size_t size_total = 1, size_temp;
- if (radix < 2)
+ if (check(radix < 2))
libzahl_failure(-ZERROR_INVALID_RADIX);
zset(num, a);
while (!zzero(num)) {