changeset 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 abc5f0a0785f
children 21b599370728
files src/utils.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);