diff --git a/main/gbx/gbx_value.c b/main/gbx/gbx_value.c index 7c85eb143..4dcded3b8 100644 --- a/main/gbx/gbx_value.c +++ b/main/gbx/gbx_value.c @@ -754,7 +754,7 @@ __OBJECT: if (class->has_convert) { void *unref = value->_object.object; - bool old_type = value->type; + TYPE old_type = value->type; if (!((*class->convert)(value->_object.object, type, value))) {