diff --git a/fx.serial/test/toml-decode.c b/fx.serial/test/toml-decode.c index 8b2b449..bda2d82 100644 --- a/fx.serial/test/toml-decode.c +++ b/fx.serial/test/toml-decode.c @@ -130,7 +130,7 @@ void write_tagged_datetime(fx_datetime *data) fx_stringstream *new_data = fx_stringstream_create(); fx_datetime_to_string(data, FX_DATETIME_FORMAT_RFC3339, new_data); - fx_stream_write_cstr(fx_stdout, fx_stringstream_ptr(new_data), NULL); + fx_stream_write_cstr(fx_stdout, fx_stringstream_get_cstr(new_data), NULL); fx_stream_write_cstr(fx_stdout, "\" }", NULL);