aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-04-30 09:03:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-04-30 09:03:41 +0200
commitd6eec702f8e9e5e3e9983c5922638f33e8404dfa (patch)
tree6602ab3421cbe2b64d38c47c9055bd52f1f82e6a
parent3a13787cc800f70813087a4e9ff541bd0ef63a0f (diff)
Remove cast that is no longer necessary to interface with genx
-rw-r--r--xml/serializer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xml/serializer.cxx b/xml/serializer.cxx
index 6d7c904..8147f91 100644
--- a/xml/serializer.cxx
+++ b/xml/serializer.cxx
@@ -207,8 +207,7 @@ namespace xml
{
if (genxStatus e = genxAddCountedText (
s_,
- reinterpret_cast<constUtf8> (value.c_str ()),
- static_cast<int> (value.size ())))
+ reinterpret_cast<constUtf8> (value.c_str ()), value.size ()))
handle_error (e);
}