作図ソフト dia の改良版
修订版 | 70a0daf9364c8f3ad75edcdea08eeba6f248a81a (tree) |
---|---|
时间 | 2014-10-04 18:43:26 |
作者 | Hans Breuer <hans@breu...> |
Commiter | Hans Breuer |
[warningectomy] more format issues with dia_assert_true()
class.c:2433:13: warning: format specifies type 'void *' but the argument has type 'int' [-Wformat]
class.c:2434:5: warning: format specifies type 'int' but the argument has type 'ConnectionPoint *' (aka 'struct _ConnectionPoint *') [-Wformat]
class.c:2435:5: warning: data argument not used by format string [-Wformat-extra-args]
@@ -2430,7 +2430,7 @@ umlclass_sanity_check(UMLClass *c, gchar *msg) | ||
2430 | 2430 | dia_assert_true(&c->connections[i] == |
2431 | 2431 | obj->connections[i + umlclass_num_dynamic_connectionpoints(c)], |
2432 | 2432 | "%s: Class %p mainpoint mismatch: %p != %p (at %d)\n", |
2433 | - msg, c, i, &c->connections[i], | |
2433 | + msg, c, &c->connections[i], | |
2434 | 2434 | obj->connections[i + umlclass_num_dynamic_connectionpoints(c)], |
2435 | 2435 | i + umlclass_num_dynamic_connectionpoints(c)); |
2436 | 2436 | #endif |