From: Frantisek D. <va...@us...> - 2005-11-28 12:32:07
|
Diego 'Flameeyes' Petten=C3=B2 p=C3=AD=C5=A1e v So 19. 11. 2005 v 01:53 += 0100: > The attached patch is an "improvement" patch, it's not something I actu= ally=20 > apply on Gentoo's patchset as it's not needed for anything actually use= ful.=20 > It just removes a few warnings about formats. It mainly changes %lld an= d=20 > similar options to PRId64, leaving to the headers decide what's the rig= ht=20 > format to use. > It should be safe on quite all modern libraries (I'm sure about GLIBC,=20 > FreeBSD's, OSX's and OpenBSD's) a part Win32 that uses other defines to= =20 > handle that. >=20 > It's probably more useless than anything, but I had a spare minutes and= wanted=20 > to give a try to format warnings... >=20 We should be careful with this, format strings differs for printfs and scanfs. Applied modified and with more changes. Thanks, Frantisek BTW. wine has interesting bug: PRId64* doesn't work there, works only in native Windows, so xine crashes under wine in some rare cases (with non- seekable plugins and verbosity, for example). |