From 3391e190680d3625a166bb6573df26e1bda30af2 Mon Sep 17 00:00:00 2001 From: John R. Lenton Date: Tue, 7 Jan 2014 18:06:34 +0000 Subject: A bit of stylistic cleanup (chose the wrong side during conflict resolution). --- py/objfloat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/objfloat.c') diff --git a/py/objfloat.c b/py/objfloat.c index 4b5197181..d21472d5d 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -62,8 +62,8 @@ static mp_obj_t float_binary_op(int op, mp_obj_t lhs_in, mp_obj_t rhs_in) { } const mp_obj_type_t float_type = { - .base = { &mp_const_type }, - .name = "float", + { &mp_const_type }, + "float", .print = float_print, .make_new = float_make_new, .unary_op = float_unary_op, -- cgit v1.2.3