From b98f8c4fe703ec8813ef9d24fe51ea3b3a31210b Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sun, 16 Jul 2017 11:16:09 -0700 Subject: [PATCH] don't cast integral long double to ptrdiff_t before writing to xml, fixes #188 --- source/detail/serialization/xlsx_producer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/detail/serialization/xlsx_producer.cpp b/source/detail/serialization/xlsx_producer.cpp index c55b24e2..83603b1e 100644 --- a/source/detail/serialization/xlsx_producer.cpp +++ b/source/detail/serialization/xlsx_producer.cpp @@ -2332,7 +2332,7 @@ void xlsx_producer::write_worksheet(const relationship &rel) if (is_integral(cell.value())) { - write_characters(static_cast(cell.value())); + write_characters(static_cast(cell.value())); } else {