summaryrefslogtreecommitdiffstatshomepage
path: root/py/objexcept.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/objexcept.h')
-rw-r--r--py/objexcept.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objexcept.h b/py/objexcept.h
index 88bce2b370..3128fded79 100644
--- a/py/objexcept.h
+++ b/py/objexcept.h
@@ -31,8 +31,8 @@
typedef struct _mp_obj_exception_t {
mp_obj_base_t base;
- mp_uint_t traceback_alloc : (BITS_PER_WORD / 2);
- mp_uint_t traceback_len : (BITS_PER_WORD / 2);
+ size_t traceback_alloc : (8 * sizeof(size_t) / 2);
+ size_t traceback_len : (8 * sizeof(size_t) / 2);
size_t *traceback_data;
mp_obj_tuple_t *args;
} mp_obj_exception_t;