diff --git a/cJSON.c b/cJSON.c index 1dfd796..c780b77 100644 --- a/cJSON.c +++ b/cJSON.c @@ -409,7 +409,7 @@ static unsigned char *print_number(const cJSON * const item, printbuffer * const return trim_trailing_zeroes(output_buffer); } - return output_buffer->buffer + output_buffer->offset; + return output_buffer->buffer; } /* parse 4 digit hexadecimal number */