projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe8792
)
Unparse time_t as unsigned int
author
Ari Johnson
<ari@theari.com>
Fri, 7 Nov 2008 21:02:00 +0000
(21:02 +0000)
committer
CobraMUSH
<cobramush@nveid.com>
Tue, 4 Mar 2008 21:22:14 +0000
(21:22 +0000)
(cherry picked from commit
746761bf5e30c7d0657b833dc09f999b0a9e1341
)
src/funtime.c
patch
|
blob
|
history
diff --git
a/src/funtime.c
b/src/funtime.c
index 3c6439172545eaa2ce598b0329db9c680af5f7b0..67c8625a119b5614d215d8a9a32bb91d524fcf39 100644
(file)
--- 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_
u
integer(mudtime, buff, bp);
}
/* ARGSUSED */
@@
-463,9
+463,9
@@
FUNCTION(fun_convtime)
#endif
) {
#ifdef SUN_OS
- safe_integer(timelocal(&ttm), buff, bp);
+ safe_
u
integer(timelocal(&ttm), buff, bp);
#else
- safe_integer(mktime(&ttm), buff, bp);
+ safe_
u
integer(mktime(&ttm), buff, bp);
#endif /* SUN_OS */
} else {
safe_str("-1", buff, bp);