diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-10-25 21:42:23 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-10-25 21:42:23 +0200 |
commit | a3d40d091d31ec54b85240209afddb0212de085c (patch) | |
tree | 80c42dda1d6cf13b92be548375c2d6f7ce79bcbb /builtin.c | |
parent | 3a149467427d21fcd2aebf523fb44b12bbe1d010 (diff) | |
download | egawk-a3d40d091d31ec54b85240209afddb0212de085c.tar.gz egawk-a3d40d091d31ec54b85240209afddb0212de085c.tar.bz2 egawk-a3d40d091d31ec54b85240209afddb0212de085c.zip |
VMS fixes for compilation and test suite addition.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1677,7 +1677,7 @@ do_strftime(int nargs) if (do_lint && (t2->flags & (NUMCUR|NUMBER)) == 0) lintwarn(_("strftime: received non-numeric second argument")); fclock = (time_t) force_number(t2); - if (fclock < 0) + if (((long int) fclock) < 0) fatal(_("strftime: second argument less than 0 or too big for time_t")); DEREF(t2); } |