You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2005/05/16 23:51:08 UTC

svn commit: r170469 - /apr/apr/trunk/time/win32/timestr.c

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);) {