From: Ari Johnson Date: Fri, 7 Nov 2008 21:02:00 +0000 (+0000) Subject: Unparse time_t as unsigned int X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=746761bf5e30c7d0657b833dc09f999b0a9e1341;p=cobramush.git Unparse time_t as unsigned int --- 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);