Cleanup: int/uint mismatch in printf...
authorBastien Montagne <montagne29@wanadoo.fr>
Sat, 27 Jun 2015 09:02:58 +0000 (11:02 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sat, 27 Jun 2015 09:02:58 +0000 (11:02 +0200)
tests/gtests/blenlib/BLI_ghash_performance_test.cc

index ef17349268c7780a95a5293abcddf70340dd7b65..fcee72466b7639589beddf1dc67ecda81f929cae 100644 (file)
@@ -26,7 +26,7 @@ extern "C" {
        double q, lf, var, pempty, poverloaded; \
        int bigb; \
        q = BLI_ghash_calc_quality_ex((_gh), &lf, &var, &pempty, &poverloaded, &bigb); \
-       printf("GHash stats (%d entries):\n\t" \
+       printf("GHash stats (%u entries):\n\t" \
               "Quality (the lower the better): %f\n\tVariance (the lower the better): %f\n\tLoad: %f\n\t" \
               "Empty buckets: %.2f%%\n\tOverloaded buckets: %.2f%% (biggest bucket: %d)\n", \
               BLI_ghash_size(_gh), q, var, lf, pempty * 100.0, poverloaded * 100.0, bigb); \