]> git.sesse.net Git - vlc/commit
win32: vlc_fix_format_string - various fixes
authorDavid Flynn <davidf@rd.bbc.co.uk>
Wed, 1 Apr 2009 21:40:03 +0000 (21:40 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 3 Apr 2009 10:11:02 +0000 (12:11 +0200)
commit3779d5bd1c335d724b31ce730a8387cb7770fc06
tree85cfff584861928c948d9ec43d111d8abbabc506
parent151982aab503fa812cd4d6e830df34e78871c106
win32: vlc_fix_format_string - various fixes

- avoid mingw problems with %l*
- avoid using %I32 on Win32, since wince doesn't support it
- unify WIN64 and WIN32 cases.
- if malloc were to fail(!), don't allow unfiltered format string
  to get passed to *printf.
  (substitues an error message)

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_fixups.h