simon-svn: halibut: simon

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


SVN root:       svn://svn.tartarus.org/sgt
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
unsigned.

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

Links:
http://svn.tartarus.org/?rev=8112&view=rev
http://svn.tartarus.org/halibut/error.c?rev=8112&r1=8111&r2=8112
http://svn.tartarus.org/halibut/in_sfnt.c?rev=8112&r1=8111&r2=8112



More information about the tartarus-commits mailing list