]> code.delx.au - gnu-emacs/blobdiff - src/w32uniscribe.c
Separate read and write access to Lisp_Object slots of Lisp_Process.
[gnu-emacs] / src / w32uniscribe.c
index 5e5c8e88b2beadcda24c1c8f367a1789193954a4..06f7b1bd192f26d8bf4467f147cd351ce392579a 100644 (file)
@@ -231,7 +231,7 @@ uniscribe_shape (Lisp_Object lgstring)
   /* First we need to break up the glyph string into runs of glyphs that
      can be treated together.  First try a single run.  */
   max_items = 2;
-  items = (SCRIPT_ITEM *) xmalloc (sizeof (SCRIPT_ITEM) * max_items + 1);
+  items = xmalloc (sizeof (SCRIPT_ITEM) * max_items + 1);
 
   while ((result = ScriptItemize (chars, nchars, max_items, NULL, NULL,
                                  items, &nitems)) == E_OUTOFMEMORY)