httpd-win32-msi-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r630963 - /httpd/httpd/win32-msi/trunk/awk/run.c
Date Mon, 25 Feb 2008 19:23:52 GMT
Author: wrowe
Date: Mon Feb 25 11:23:44 2008
New Revision: 630963

URL: http://svn.apache.org/viewvc?rev=630963&view=rev
Log:
With VC8 and later, 64 bit time_t is favored; truncate to float (safely)

Modified:
    httpd/httpd/win32-msi/trunk/awk/run.c

Modified: httpd/httpd/win32-msi/trunk/awk/run.c
URL: http://svn.apache.org/viewvc/httpd/httpd/win32-msi/trunk/awk/run.c?rev=630963&r1=630962&r2=630963&view=diff
==============================================================================
--- httpd/httpd/win32-msi/trunk/awk/run.c (original)
+++ httpd/httpd/win32-msi/trunk/awk/run.c Mon Feb 25 11:23:44 2008
@@ -1514,7 +1514,7 @@
 		break;
 	case FSRAND:
 		if (isrec(x))	/* no argument provided */
-			u = time((time_t *)0);
+			u = (Awkfloat) time((time_t *)0);
 		else
 			u = getfval(x);
 		srand((unsigned int) u);



---------------------------------------------------------------------
To unsubscribe, e-mail: win32-msi-cvs-unsubscribe@httpd.apache.org
For additional commands, e-mail: win32-msi-cvs-help@httpd.apache.org


Mime
View raw message