comparison src/w32uniscribe.c @ 97848:d1e61da65cce

(uniscribe_shape): Shut up compiler warning in LGLYPH_SET_CODE.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 29 Aug 2008 08:40:58 +0000
parents e33a2e6c1dab
children 111763d689bf
comparison
equal deleted inserted replaced
97847:2fb5b268febb 97848:d1e61da65cce
337 for (j = 0; j < nglyphs; j++) 337 for (j = 0; j < nglyphs; j++)
338 { 338 {
339 int lglyph_index = j + done_glyphs; 339 int lglyph_index = j + done_glyphs;
340 Lisp_Object lglyph = LGSTRING_GLYPH (lgstring, lglyph_index); 340 Lisp_Object lglyph = LGSTRING_GLYPH (lgstring, lglyph_index);
341 ABC char_metric; 341 ABC char_metric;
342 unsigned gl;
342 343
343 if (NILP (lglyph)) 344 if (NILP (lglyph))
344 { 345 {
345 lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil); 346 lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil);
346 LGSTRING_SET_GLYPH (lgstring, lglyph_index, lglyph); 347 LGSTRING_SET_GLYPH (lgstring, lglyph_index, lglyph);
347 } 348 }
348 LGLYPH_SET_CODE (lglyph, glyphs[j]); 349 /* Copy to a 32-bit data type to shut up the
350 compiler warning in LGLYPH_SET_CODE about
351 comparison being always false. */
352 gl = glyphs[j];
353 LGLYPH_SET_CODE (lglyph, gl);
349 354
350 /* Detect clusters, for linking codes back to characters. */ 355 /* Detect clusters, for linking codes back to characters. */
351 if (attributes[j].fClusterStart) 356 if (attributes[j].fClusterStart)
352 { 357 {
353 while (from >= 0 && from < nchars_in_run 358 while (from >= 0 && from < nchars_in_run