2011/8/31 Michel Dänzer <michel@xxxxxxxxxxx>: > On Die, 2011-08-30 at 11:15 +0200, Tormod Volden wrote: >> 2011/8/30 Michel Dänzer <michel@xxxxxxxxxxx>: >> >> This was previously done for r300 only. Use %p instead of %08X for >> >> printing the table address. >> > >> > sizeof(dma_addr_t) can be 8 even when sizeof(void*) is 4. >> >> Thanks, I will send a new patch, using "0x%016lX". Will that work for >> everybody? > > I suspect that'll give a warning when sizeof(dma_addr_t) is 8 but > sizeof(unsigned long) is 4. > > I don't know if there's a better solution than using "0x%016lX" and > casting to unsigned long long. Should I use llX if casting to long long then? Tormod _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel