apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r170469 - /apr/apr/trunk/time/win32/timestr.c
Date Mon, 16 May 2005 21:51:08 GMT
Author: wrowe
Date: Mon May 16 14:51:08 2005
New Revision: 170469

URL: http://svn.apache.org/viewcvs?rev=170469&view=rev
Log:

  A noop on Win32, this Win64 hack for our internal fn deals with memory
  sizes in apr_size_t

Modified:
    apr/apr/trunk/time/win32/timestr.c

Modified: apr/apr/trunk/time/win32/timestr.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/time/win32/timestr.c?rev=170469&r1=170468&r2=170469&view=diff
==============================================================================
--- apr/apr/trunk/time/win32/timestr.c (original)
+++ apr/apr/trunk/time/win32/timestr.c Mon May 16 14:51:08 2005
@@ -120,15 +120,15 @@
 
 #ifndef _WIN32_WCE
 
-int win32_strftime_extra(char *s, size_t max, const char *format,
-                         const struct tm *tm) 
+apr_size_t win32_strftime_extra(char *s, size_t max, const char *format,
+                                const struct tm *tm) 
 {
    /* If the new format string is bigger than max, the result string won't fit
     * anyway. If format strings are added, made sure the padding below is
     * enough */
     char *new_format = (char *) malloc(max + 11);
     size_t i, j, format_length = strlen(format);
-    int return_value;
+    apr_size_t return_value;
     int length_written;
 
     for (i = 0, j = 0; (i < format_length && j < max);) {



Mime
View raw message