From f4641f502e31ff1f522c8e4716bd8069d9088a3c Mon Sep 17 00:00:00 2001 From: jnthn Date: Sat, 8 Feb 2014 12:27:24 +0100 Subject: [PATCH] Unbust build on MSVC. --- src/6model/reprs/P6bigint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/6model/reprs/P6bigint.c b/src/6model/reprs/P6bigint.c index 2a1412246e..89d7c4f532 100644 --- a/src/6model/reprs/P6bigint.c +++ b/src/6model/reprs/P6bigint.c @@ -124,8 +124,6 @@ static void gc_free(MVMThreadContext *tc, MVMObject *obj) { static void serialize(MVMThreadContext *tc, MVMSTable *st, void *data, MVMSerializationWriter *writer) { MVMP6bigintBody *body = (MVMP6bigintBody *)data; if (MVM_BIGINT_IS_BIG(body)) { - // write the "is big" flag - writer->write_varint(tc, writer, 1); mp_int *i = body->u.bigint; int len; char *buf; @@ -137,11 +135,13 @@ static void serialize(MVMThreadContext *tc, MVMSTable *st, void *data, MVMSerial /* len - 1 because buf is \0-terminated */ str = MVM_string_ascii_decode(tc, tc->instance->VMString, buf, len - 1); + /* write the "is big" flag */ + writer->write_varint(tc, writer, 1); writer->write_str(tc, writer, str); free(buf); } else { - // write the "is small" flag + /* write the "is small" flag */ writer->write_varint(tc, writer, 1); writer->write_varint(tc, writer, body->u.smallint.value); }