mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix testFindSCCs warnings. No bug, rs=billm, r=themaid
This commit is contained in:
parent
0290372c0a
commit
25cc34acbe
@ -7,6 +7,7 @@
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
@ -165,7 +166,7 @@ bool group(int vertex, ...)
|
||||
va_start(ap, vertex);
|
||||
while (vertex != -1) {
|
||||
CHECK(v != NULL);
|
||||
CHECK(v->index == vertex);
|
||||
CHECK(v->index == unsigned(vertex));
|
||||
v = (TestNode *)v->gcNextGraphNode;
|
||||
vertex = va_arg(ap, int);
|
||||
}
|
||||
@ -183,7 +184,7 @@ bool remaining(int vertex, ...)
|
||||
va_start(ap, vertex);
|
||||
while (vertex != -1) {
|
||||
CHECK(v != NULL);
|
||||
CHECK(v->index == vertex);
|
||||
CHECK(v->index == unsigned(vertex));
|
||||
v = (TestNode *)v->gcNextGraphNode;
|
||||
vertex = va_arg(ap, int);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user