From 60bd22620a1e63fb163a788f9565b94d138c6030 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Tue, 31 Dec 2013 11:10:25 +0000 Subject: mprintf: Replaced internal usage of FORMAT_OFF_T and FORMAT_OFF_TU Following commit 0aafd77fa4c6f2, replaced the internal usage of FORMAT_OFF_T and FORMAT_OFF_TU with the external versions that we expect API programmers to use. This negates the need for separate definitions which were subtly different under different platforms/compilers. --- tests/libtest/lib557.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/libtest/lib557.c') diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index dc3bcae86..7e5f9e94f 100644 --- a/tests/libtest/lib557.c +++ b/tests/libtest/lib557.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2013, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -1354,7 +1354,7 @@ static int test_curl_off_t_formatting(void) co_test[i].result[j] = 'X'; co_test[i].result[BUFSZ-1] = '\0'; - (void)curl_msprintf(co_test[i].result, "%" FORMAT_OFF_T, co_test[i].num); + (void)curl_msprintf(co_test[i].result, "%" CURL_FORMAT_CURL_OFF_T, co_test[i].num); if(memcmp(co_test[i].result, co_test[i].expected, -- cgit v1.2.1