summaryrefslogtreecommitdiffstats
path: root/bin/csh/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh/time.c')
-rw-r--r--bin/csh/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/time.c b/bin/csh/time.c
index bee5bae..c63e0f5 100644
--- a/bin/csh/time.c
+++ b/bin/csh/time.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: time.c,v 1.2 1994/09/24 02:54:20 davidg Exp $
+ * $Id: time.c,v 1.3 1995/02/16 09:17:27 jkh Exp $
*/
#ifndef lint
@@ -246,7 +246,7 @@ pdeltat(t1, t0)
struct timeval td;
tvsub(&td, t1, t0);
- (void) fprintf(cshout, "%d.%01d", td.tv_sec, td.tv_usec / 100000);
+ (void) fprintf(cshout, "%ld.%01ld", td.tv_sec, td.tv_usec / 100000L);
}
void
OpenPOWER on IntegriCloud