2010/1/11 Alexandre Julliard julliard@winehq.org:
Nicolas Le Cam niko.lecam@gmail.com writes:
@@ -175,7 +175,7 @@ static DWORD d3d8_allocate_handle(struct d3d8_handle_table *t, void *object, enu entry = t->free_entries; if (entry->type != D3D8_HANDLE_FREE) {
- ERR("Handle %u(%p) is in the free list, but has type %#x.\n", (entry - t->entries), entry, entry->type);
- ERR("Handle %tu(%p) is in the free list, but has type %#x.\n", (entry - t->entries), entry, entry->type);
Please don't use that kind of printf formats, they are not portable.
-- Alexandre Julliard julliard@winehq.org
Sorry about that, I did see a 'C90' mention on an online printf manual that I can't find anymore (I should have compiled with -pedantic before submitting).