diff src/ov-bool.cc @ 4358:83d4452bc522

[project @ 2003-02-23 02:16:53 by jwe]
author jwe
date Sun, 23 Feb 2003 02:16:54 +0000
parents 5719210fff4c
children f3c21a1d1c62
line wrap: on
line diff
--- a/src/ov-bool.cc
+++ b/src/ov-bool.cc
@@ -103,10 +103,10 @@
 }
 
 octave_value
-octave_bool::convert_to_str (void) const
+octave_bool::convert_to_str (bool) const
 {
   char s[2];
-  s[0] = (char) scalar;
+  s[0] = static_cast<char> (scalar);
   s[1] = '\0';
 
   return octave_value (s);