1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- dlls/wineps/afm.c 2001/05/09 17:11:59 1.13
+++ dlls/wineps/afm.c 2001/05/11 11:51:52
@@ -683,7 +683,7 @@ static BOOL SortFontMetrics()
qsort(aglCopy, PSDRV_AdobeGlyphList.size,
sizeof(UNICODEGLYPH),
- (__compar_fn_t)UnicodeGlyphByNameIndex);
+ UnicodeGlyphByNameIndex);
}
for (i = 0; i < afm->NumofMetrics; ++i)
@@ -695,7 +695,7 @@ static BOOL SortFontMetrics()
pug = bsearch(&ug, aglCopy, PSDRV_AdobeGlyphList.size,
sizeof(UNICODEGLYPH),
- (__compar_fn_t)UnicodeGlyphByNameIndex);
+ UnicodeGlyphByNameIndex);
if (pug == NULL)
{
WARN("Glyph '%s' in font '%s' does not have a UV\n",
@@ -715,7 +715,7 @@ static BOOL SortFontMetrics()
/* typecast avoids compiler warning */
qsort((void *)(afm->Encoding->glyphs), afm->Encoding->size,
- sizeof(UNICODEGLYPH), (__compar_fn_t)UnicodeGlyphByUV);
+ sizeof(UNICODEGLYPH), UnicodeGlyphByUV);
for (i = 0; i < afm->Encoding->size; ++i)
if (afm->Encoding->glyphs[i].UV >= 0)
@@ -726,7 +726,7 @@ static BOOL SortFontMetrics()
}
qsort(afm->Metrics, afm->NumofMetrics, sizeof(AFMMETRICS),
- (__compar_fn_t)AFMMetricsByUV);
+ AFMMetricsByUV);
for (i = 0; i < afm->NumofMetrics; ++i)
if (afm->Metrics[i].UV >= 0)
|