From d4fb6fde2bdda17985f71e0471a01ac74bc94b38 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 16 Feb 2019 23:42:29 +0100 Subject: [PATCH] Fix printf type. --- update/src/update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/src/update.cpp b/update/src/update.cpp index 603ad7b3..e234e92d 100644 --- a/update/src/update.cpp +++ b/update/src/update.cpp @@ -74,7 +74,7 @@ int main( int argc, char** argv ) const auto outSize = ftell( out ); fclose( out ); - printf( "%s (%i.%i.%i) {%zu KB} -> %s (%i.%i.%i) {%zu KB} %.2f%% size change\n", input, inVer >> 16, ( inVer >> 8 ) & 0xFF, inVer & 0xFF, inSize / 1024, output, tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch, outSize / 1024, float( outSize ) / inSize * 100 ); + printf( "%s (%i.%i.%i) {%zu KB} -> %s (%i.%i.%i) {%zu KB} %.2f%% size change\n", input, inVer >> 16, ( inVer >> 8 ) & 0xFF, inVer & 0xFF, size_t( inSize / 1024 ), output, tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch, size_t( outSize / 1024 ), float( outSize ) / inSize * 100 ); } catch( const tracy::UnsupportedVersion& e ) {