From 36109d246fc5396c38bedfc240ddbe60a3c718fc Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 15 Feb 2014 22:16:33 +0000 Subject: Small change to configuration of long int. --- py/binary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/binary.c') diff --git a/py/binary.c b/py/binary.c index b28eb6426..f8daa3e6f 100644 --- a/py/binary.c +++ b/py/binary.c @@ -63,7 +63,7 @@ mp_obj_t mp_binary_get_val(char typecode, void *p, int index) { case 'I': case 'L': return mp_obj_new_int_from_uint(((uint32_t*)p)[index]); -#if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE +#if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_LONGLONG case 'q': case 'Q': // TODO: Explode API more to cover signedness -- cgit v1.2.3