diff src/variables.cc @ 7065:97db94ae2cf0

[project @ 2007-10-25 05:50:55 by jwe]
author jwe
date Thu, 25 Oct 2007 05:50:56 +0000
parents a1dbe9d80eee
children 745a8299c2b5 1b01b40886eb
line wrap: on
line diff
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -1008,7 +1008,8 @@
 	      if (tc < Vlast_prompt_time
 		  || (relative && tc < Vlast_chdir_time))
 		{
-		  time_t tp = fcn->time_parsed ();
+		  octave_time ottp = fcn->time_parsed ();
+		  time_t tp = ottp.unix_time ();
 
 		  std::string nm = fcn->is_nested_function ()
 		    ? fcn->parent_fcn_name () : fcn->name ();