diff options
Diffstat (limited to 'cxx/osmpf.cc')
-rw-r--r-- | cxx/osmpf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cxx/osmpf.cc b/cxx/osmpf.cc index 767f0907d..6aa2cc9cb 100644 --- a/cxx/osmpf.cc +++ b/cxx/osmpf.cc @@ -57,6 +57,6 @@ operator<< (ostream &o, mpf_srcptr f) ASSERT (ret != -1); __gmp_asprintf_final (&d); - gmp_allocated_string alloc = result; - return o.write (result, strlen (result)); + gmp_allocated_string t (result); + return o.write (t.str, t.len); } |