From 5c6ee35c0a4d0855d6d39b40108b5c1a2285132f Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 16 May 2005 21:51:08 +0000 Subject: 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 --- time/win32/timestr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'time') 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);) { -- cgit v1.2.1