diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2005-05-16 21:51:08 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2005-05-16 21:51:08 +0000 |
commit | e0608851c4768e6d1045ceffdb0e6436940eff5c (patch) | |
tree | 684501ccffd4f090f0435e395a1791da2bd130ba /time/win32/timestr.c | |
parent | 9c76cd60efd969240c519cecdaa338200e4d47b1 (diff) | |
download | libapr-e0608851c4768e6d1045ceffdb0e6436940eff5c.tar.gz |
A noop on Win32, this Win64 hack for our internal fn deals with memory
sizes in apr_size_t
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@170469 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time/win32/timestr.c')
-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);) { |