apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/test testtime.c
Date Thu, 02 Jan 2003 17:51:49 GMT
wrowe       2003/01/02 09:51:49

  Modified:    test     testtime.c
  Log:
    LL isn't portable c... we created APR_INT64_C for this purpose.
  
  Revision  Changes    Path
  1.47      +1 -1      apr/test/testtime.c
  
  Index: testtime.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testtime.c,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- testtime.c	2 Jan 2003 13:54:47 -0000	1.46
  +++ testtime.c	2 Jan 2003 17:51:49 -0000	1.47
  @@ -68,7 +68,7 @@
    *           2002-08-14 12:05:36.186711 -25200 [257 Sat].
    * Which happens to be when I wrote the new tests.
    */
  -static apr_time_t now = 1032030336186711LL;
  +static apr_time_t now = APR_INT64_C(1032030336186711);
   
   static char* print_time (apr_pool_t *pool, const apr_time_exp_t *xt)
   {
  
  
  

Mime
View raw message