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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-08-23 07:58:13 +0300
committerJoshua Leung <aligorith@gmail.com>2018-08-23 08:07:39 +0300
commit36148f20ec7d5465c2ec24b874fa31e6b038fccc (patch)
tree7dd087afd9e22ae2b248ba8d938c084978011c8a /source/blender/depsgraph/intern/depsgraph_query_filter.cc
parent0e09bfa0594ef64e5a1966280277330d65e874dd (diff)
Fix: Silence compiler warnings about size_t's in printf
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_query_filter.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_query_filter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query_filter.cc b/source/blender/depsgraph/intern/depsgraph_query_filter.cc
index cfa51ac0673..da6b239cc0a 100644
--- a/source/blender/depsgraph/intern/depsgraph_query_filter.cc
+++ b/source/blender/depsgraph/intern/depsgraph_query_filter.cc
@@ -232,8 +232,6 @@ Depsgraph *DEG_graph_filter(const Depsgraph *graph_src, Main *bmain, DEG_FilterQ
BLI_gset_free(retained_ids, NULL);
retained_ids = NULL;
- /* Debug - Are the desired targets still in there? */
-
/* Print Stats */
// XXX: Hide behind debug flags
size_t s_outer, s_operations, s_relations;
@@ -247,8 +245,10 @@ Depsgraph *DEG_graph_filter(const Depsgraph *graph_src, Main *bmain, DEG_FilterQ
DEG_stats_simple(graph_src, &s_outer, &s_operations, &s_relations);
DEG_stats_simple(graph_new, &n_outer, &n_operations, &n_relations);
- printf("%s: src = (ID's: %u (%u), Out: %u, Op: %u, Rel: %u)\n", __func__, s_ids, s_idh, s_outer, s_operations, s_relations); // XXX
- printf("%s: new = (ID's: %u (%u), Out: %u, Op: %u, Rel: %u)\n", __func__, n_ids, n_idh, n_outer, n_operations, n_relations); // XXX
+ printf("%s: src = (ID's: %zu (%u), Out: %zu, Op: %zu, Rel: %zu)\n",
+ __func__, s_ids, s_idh, s_outer, s_operations, s_relations);
+ printf("%s: new = (ID's: %zu (%u), Out: %zu, Op: %zu, Rel: %zu)\n",
+ __func__, n_ids, n_idh, n_outer, n_operations, n_relations);
/* Return this new graph instance */
return graph_new;