commit | 17ee3cd7f4e3123d8289694f59a03c782035103f | [log] [tgz] |
---|---|---|
author | Vincent Torri <vtorri@outlook.fr> | Sun Sep 10 07:29:08 2023 +0200 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sun Sep 10 11:34:30 2023 +0300 |
tree | 12f102ed11f52a045ab1c2b89131a800131f34d3 | |
parent | c1eb66d4159fec311334aee5c0a59384491d3989 [diff] |
fix warning with unsigned long
diff --git a/src/graph/graph.hh b/src/graph/graph.hh index 2b742ef..4942448 100644 --- a/src/graph/graph.hh +++ b/src/graph/graph.hh
@@ -478,7 +478,7 @@ for (int i = vertices_.length - 1; i >= 0; i--) { const auto& v = vertices_[i]; - printf("%d: %lu [", i, v.table_size()); + printf("%d: %u [", i, (unsigned int)v.table_size()); for (const auto &l : v.obj.real_links) { printf("%u, ", l.objidx); }