diff src/utils.cc @ 160:be50d501b2a7

[project @ 1993-10-14 04:26:15 by jwe] (decode_prompt_string): ctime returns time_t, which might not be a long.
author jwe
date Thu, 14 Oct 1993 04:26:15 +0000
parents 7849db4b6dbc
children e2c950dd96d2
line wrap: on
line diff
--- a/src/utils.cc	Thu Oct 14 00:38:27 1993 +0000
+++ b/src/utils.cc	Thu Oct 14 04:26:15 1993 +0000
@@ -695,7 +695,7 @@
 	    case 'd':
 	      /* Make the current time/date into a string. */
 	      {
-		long the_time = time (0);
+		time_t the_time = time (0);
 		char *ttemp = ctime (&the_time);
 		temp = strsave (ttemp);