Fix warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]

This commit is contained in:
Alexandre Ganea 2019-11-04 14:36:36 -05:00
parent 8112a423a8
commit 9cc3ebf8b7
1 changed files with 4 additions and 0 deletions

View File

@ -68,7 +68,11 @@ void Print(const BV &bv) {
void Print(const set<uptr> &s) {
for (set<uptr>::iterator it = s.begin(); it != s.end(); ++it) {
#if defined(_WIN64)
fprintf(stderr, "%llu ", *it);
#else
fprintf(stderr, "%lu ", *it);
#endif
}
fprintf(stderr, "\n");
}