提交 6a5d2b21 编写于 作者: B Behdad Esfahbod

[uniscribe] Fix warnings

上级 5b13e458
...@@ -817,7 +817,7 @@ retry: ...@@ -817,7 +817,7 @@ retry:
script_tags, script_tags,
&item_count); &item_count);
if (unlikely (FAILED (hr))) if (unlikely (FAILED (hr)))
FAIL ("ScriptItemizeOpenType() failed: 0x%08xL", hr); FAIL ("ScriptItemizeOpenType() failed: 0x%08lx", hr);
#undef MAX_ITEMS #undef MAX_ITEMS
...@@ -916,7 +916,7 @@ retry: ...@@ -916,7 +916,7 @@ retry:
} }
if (unlikely (FAILED (hr))) if (unlikely (FAILED (hr)))
{ {
FAIL ("ScriptShapeOpenType() failed: 0x%08xL", hr); FAIL ("ScriptShapeOpenType() failed: 0x%08lx", hr);
} }
for (unsigned int j = chars_offset; j < chars_offset + item_chars_len; j++) for (unsigned int j = chars_offset; j < chars_offset + item_chars_len; j++)
...@@ -942,7 +942,7 @@ retry: ...@@ -942,7 +942,7 @@ retry:
offsets + glyphs_offset, offsets + glyphs_offset,
nullptr); nullptr);
if (unlikely (FAILED (hr))) if (unlikely (FAILED (hr)))
FAIL ("ScriptPlaceOpenType() failed: 0x%08xL", hr); FAIL ("ScriptPlaceOpenType() failed: 0x%08lx", hr);
if (DEBUG_ENABLED (UNISCRIBE)) if (DEBUG_ENABLED (UNISCRIBE))
fprintf (stderr, "Item %d RTL %d LayoutRTL %d LogicalOrder %d ScriptTag %c%c%c%c\n", fprintf (stderr, "Item %d RTL %d LayoutRTL %d LogicalOrder %d ScriptTag %c%c%c%c\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册