diff src/sysdep.cc @ 4233:ccfdb55c8156

[project @ 2002-12-20 22:43:54 by jwe]
author jwe
date Fri, 20 Dec 2002 22:43:55 +0000 (2002-12-20)
parents e96f52432059
children 75ed329c117b
line wrap: on
line diff
--- a/src/sysdep.cc
+++ b/src/sysdep.cc
@@ -387,7 +387,7 @@
 returns a string containing the value of your path.\n\
 @end deftypefn")
 {
-  octave_value_list retval;
+  octave_value retval;
 
   int nargin = args.length ();
 
@@ -461,7 +461,7 @@
 returning the empty string if no key is available.\n\
 @end deftypefn")
 {
-  octave_value_list retval;
+  octave_value retval;
 
   // XXX FIXME XXX -- add timeout and default value args?
 
@@ -608,8 +608,8 @@
   oct_mach_info::float_format flt_fmt =
     oct_mach_info::native_float_format ();
 
-  return static_cast<double> (flt_fmt == oct_mach_info::ieee_little_endian
-			      || flt_fmt == oct_mach_info::ieee_big_endian);
+  return octave_value (flt_fmt == oct_mach_info::ieee_little_endian
+		       || flt_fmt == oct_mach_info::ieee_big_endian);
 }
 
 DEFUN (tilde_expand, args, ,
@@ -633,7 +633,7 @@
 @end example\n\
 @end deftypefn")
 {
-  octave_value_list retval;
+  octave_value retval;
 
   int nargin = args.length ();