From 746761bf5e30c7d0657b833dc09f999b0a9e1341 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Fri, 7 Nov 2008 21:02:00 +0000 Subject: [PATCH] Unparse time_t as unsigned int --- src/funtime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/funtime.c b/src/funtime.c index 3c64391..67c8625 100644 --- a/src/funtime.c +++ b/src/funtime.c @@ -151,7 +151,7 @@ FUNCTION(fun_time) /* ARGSUSED */ FUNCTION(fun_secs) { - safe_integer(mudtime, buff, bp); + safe_uinteger(mudtime, buff, bp); } /* ARGSUSED */ @@ -463,9 +463,9 @@ FUNCTION(fun_convtime) #endif ) { #ifdef SUN_OS - safe_integer(timelocal(&ttm), buff, bp); + safe_uinteger(timelocal(&ttm), buff, bp); #else - safe_integer(mktime(&ttm), buff, bp); + safe_uinteger(mktime(&ttm), buff, bp); #endif /* SUN_OS */ } else { safe_str("-1", buff, bp); -- 2.30.2