From c3628b6020c29af802d7663b4fe0b68b3f974610 Mon Sep 17 00:00:00 2001 From: Phil Krylov Date: Fri, 1 Jun 2018 00:25:47 +0300 Subject: [PATCH] 2018-06-01 00:25 UTC+0300 Phil Krylov (phil a t newstar.rinet.ru) * src/rtl/trim.c ! Fixed HB_SIZE format specifier in HB_TRACE format string. --- ChangeLog.txt | 4 ++++ src/rtl/trim.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index b6010d0000..0baeff30db 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,10 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2018-06-01 00:25 UTC+0300 Phil Krylov (phil a t newstar.rinet.ru) + * src/rtl/trim.c + ! Fixed HB_SIZE format specifier in HB_TRACE format string. + 2018-05-11 12:23 UTC+0200 maurilio (maurilio.longo@libero.it) * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c diff --git a/src/rtl/trim.c b/src/rtl/trim.c index 623dad371e..a681c5f8e3 100644 --- a/src/rtl/trim.c +++ b/src/rtl/trim.c @@ -66,7 +66,7 @@ const char * hb_strLTrim( const char * szText, HB_SIZE * nLen ) /* return length of szText ignoring trailing white space (or true spaces) */ HB_SIZE hb_strRTrimLen( const char * szText, HB_SIZE nLen, HB_BOOL bAnySpace ) { - HB_TRACE( HB_TR_DEBUG, ( "hb_strRTrimLen(%s, %lu. %d)", szText, nLen, ( int ) bAnySpace ) ); + HB_TRACE( HB_TR_DEBUG, ( "hb_strRTrimLen(%s, %" HB_PFS "u, %d)", szText, nLen, ( int ) bAnySpace ) ); if( bAnySpace ) {