mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Explicit casts to placate OS X gcc's pedantic type-check warnings.
[originally from svn r7958]
This commit is contained in:
parent
6ef1fa7b1f
commit
d2b4b4a9ef
@ -566,13 +566,13 @@ static void x11font_enum_fonts(GtkWidget *widget,
|
||||
|
||||
p += sprintf(p, "%04d%04d%s%04d%04d%s%04d%04d%s%04d%s%04d%s",
|
||||
weightkey,
|
||||
strlen(components[2]), components[2],
|
||||
(int)strlen(components[2]), components[2],
|
||||
slantkey,
|
||||
strlen(components[3]), components[3],
|
||||
(int)strlen(components[3]), components[3],
|
||||
setwidthkey,
|
||||
strlen(components[4]), components[4],
|
||||
strlen(components[10]), components[10],
|
||||
strlen(components[5]), components[5]);
|
||||
(int)strlen(components[4]), components[4],
|
||||
(int)strlen(components[10]), components[10],
|
||||
(int)strlen(components[5]), components[5]);
|
||||
|
||||
assert(p - tmp < thistmpsize);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user