Cleanup: Fix sign conversion warning in BMesh log

This commit is contained in:
Hans Goudey 2022-10-03 17:43:21 -05:00
parent 97746129d5
commit d42f882343
Notes: blender-bot 2023-02-13 14:21:11 +01:00
Referenced by issue #101502, Regression: Artifacts/crash when sculpting with Dyntopo
1 changed files with 6 additions and 6 deletions

View File

@ -1022,12 +1022,12 @@ void BM_log_print_entry(BMesh *bm, BMLogEntry *entry)
}
printf("v | added: %d, removed: %d, modified: %d\n",
BLI_ghash_len(entry->added_verts),
BLI_ghash_len(entry->deleted_verts),
BLI_ghash_len(entry->modified_verts));
(int)BLI_ghash_len(entry->added_verts),
(int)BLI_ghash_len(entry->deleted_verts),
(int)BLI_ghash_len(entry->modified_verts));
printf("f | added: %d, removed: %d, modified: %d\n",
BLI_ghash_len(entry->added_faces),
BLI_ghash_len(entry->deleted_faces),
BLI_ghash_len(entry->modified_faces));
(int)BLI_ghash_len(entry->added_faces),
(int)BLI_ghash_len(entry->deleted_faces),
(int)BLI_ghash_len(entry->modified_faces));
printf("}\n");
}