Skip to content

Commit 249c6e3

Browse files
committed
fix: revert sexp_output_stream_t::change_output_byte_size ABI
1 parent ac7dbc1 commit 249c6e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/sexpp/sexp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ class SEXP_PUBLIC_SYMBOL sexp_output_stream_t : sexp_depth_manager {
484484
sexp_output_stream_t *flush(void);
485485
sexp_output_stream_t *print_decimal(uint64_t n);
486486

487-
sexp_output_stream_t *change_output_byte_size(size_t newByteSize, sexp_print_mode mode);
487+
sexp_output_stream_t *change_output_byte_size(int newByteSize, sexp_print_mode mode);
488488

489489
sexp_output_stream_t *print_canonical(const std::shared_ptr<sexp_object_t> &obj)
490490
{

src/sexp-output.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ sexp_output_stream_t *sexp_output_stream_t::var_put_char(int c)
106106
* Change os->byte_size to newByteSize
107107
* record mode in output stream for automatic line breaks
108108
*/
109-
sexp_output_stream_t *sexp_output_stream_t::change_output_byte_size(size_t newByteSize,
109+
sexp_output_stream_t *sexp_output_stream_t::change_output_byte_size(int newByteSize,
110110
sexp_print_mode newMode)
111111
{
112112
if (newByteSize != 4 && newByteSize != 6 && newByteSize != 8)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.1
1+
0.9.2

0 commit comments

Comments
 (0)