summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authorredman <redman>1999-07-22 01:26:17 (GMT)
committerredman <redman>1999-07-22 01:26:17 (GMT)
commit42dc6740de7cbdbcc0930226d7c35f11fc8f051d (patch)
treeb3656630330364f692f672bbca4293cf8647962f /unix/tclUnixTime.c
parent54b6980992593dd026c12db3f5aaef9dce67e0e3 (diff)
downloadtcl-42dc6740de7cbdbcc0930226d7c35f11fc8f051d.zip
tcl-42dc6740de7cbdbcc0930226d7c35f11fc8f051d.tar.gz
tcl-42dc6740de7cbdbcc0930226d7c35f11fc8f051d.tar.bz2
revert changes to TclpStrftime, not needed for internal functions.
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r--unix/tclUnixTime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index 853ab2c..c1a9161 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixTime.c,v 1.5 1999/07/22 01:08:05 redman Exp $
+ * RCS: @(#) $Id: tclUnixTime.c,v 1.6 1999/07/22 01:26:19 redman Exp $
*/
#include "tclInt.h"
@@ -288,12 +288,12 @@ TclpGetDate(time, useGMT)
*----------------------------------------------------------------------
*/
-unsigned long
+size_t
TclpStrftime(s, maxsize, format, t)
char *s;
size_t maxsize;
CONST char *format;
CONST struct tm *t;
{
- return (unsigned long) strftime(s, maxsize, format, t);
+ return strftime(s, maxsize, format, t);
}