summaryrefslogtreecommitdiff
path: root/py/binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/binary.c')
-rw-r--r--py/binary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/binary.c b/py/binary.c
index d4898c143..c47d9d3fe 100644
--- a/py/binary.c
+++ b/py/binary.c
@@ -135,7 +135,7 @@ size_t mp_binary_get_size(char struct_type, char val_type, size_t *palign) {
}
if (size == 0) {
- mp_raise_ValueError("bad typecode");
+ mp_raise_ValueError(MP_ERROR_TEXT("bad typecode"));
}
if (palign != NULL) {