simon-svn: halibut: simon

Commits to Tartarus CVS repository. tartarus-commits at
Wed Jul 9 18:06:29 BST 2008

SVN root:       svn://
Changes by:     simon
Revision:       8112
Date:           2008-07-09 18:06:29 +0100 (Wed, 09 Jul 2008)

Log message (8 lines):
Turn the numeric parameter to err_sfntbadglyph from wchar_t to
unsigned int, after a correspondent mentioned that DJGPP produces a
very scary warning about integer promotion making use of the former
in va_arg non-portable. Whether or not that's standards-justifiable,
it's certainly the case that we were casting _to_ wchar_t from
unsigned int in all cases of this error actually being used, so the
simplest thing is just to transfer the number through va_arg as

Modified files:
U   halibut/error.c
U   halibut/in_sfnt.c


More information about the tartarus-commits mailing list