[compiler-rt] Fix fix format specifies type in test

llvm-svn: 308117
This commit is contained in:
Vitaly Buka 2017-07-16 00:17:11 +00:00
parent 664a3fb238
commit 50648af623
1 changed files with 2 additions and 2 deletions

View File

@ -62,14 +62,14 @@ void Print(const BV &bv) {
t.copyFrom(bv);
while (!t.empty()) {
uptr idx = t.getAndClearFirstOne();
fprintf(stderr, "%zd ", idx);
fprintf(stderr, "%lu ", idx);
}
fprintf(stderr, "\n");
}
void Print(const set<uptr> &s) {
for (set<uptr>::iterator it = s.begin(); it != s.end(); ++it) {
fprintf(stderr, "%zd ", *it);
fprintf(stderr, "%lu ", *it);
}
fprintf(stderr, "\n");
}