diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2005-05-16 21:51:08 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2005-05-16 21:51:08 +0000 |
commit | 5c6ee35c0a4d0855d6d39b40108b5c1a2285132f (patch) | |
tree | 684501ccffd4f090f0435e395a1791da2bd130ba /time | |
parent | fb265863cfc121d55f15ec84fbeea7e2c9695a4d (diff) | |
download | apr-5c6ee35c0a4d0855d6d39b40108b5c1a2285132f.tar.gz |
A noop on Win32, this Win64 hack for our internal fn deals with memory
sizes in apr_size_t
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@170469 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r-- | time/win32/timestr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/time/win32/timestr.c b/time/win32/timestr.c index 9a288ab22..ce96c867e 100644 --- a/time/win32/timestr.c +++ b/time/win32/timestr.c @@ -120,15 +120,15 @@ APR_DECLARE(apr_status_t) apr_ctime(char *date_str, apr_time_t t) #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);) { |