Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/update
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-02-17 01:42:29 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-02-17 02:29:01 +0300
commitd4fb6fde2bdda17985f71e0471a01ac74bc94b38 (patch)
tree240acd2533b0fb41ad43e74c036001011479856c /update
parent4422fce55caf166adc0f5c37fb241ac288885172 (diff)
Fix printf type.
Diffstat (limited to 'update')
-rw-r--r--update/src/update.cpp2
1 files changed, 1 insertions, 1 deletions
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 )
{