dwrite: Use correct integral types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c3e57fc3e4
commit
04bb4424ef
|
@ -5084,7 +5084,7 @@ HRESULT get_eudc_fontcollection(IDWriteFactory7 *factory, IDWriteFontCollection3
|
|||
struct dwrite_fontcollection *collection;
|
||||
WCHAR eudckeypathW[16];
|
||||
HKEY eudckey;
|
||||
DWORD index;
|
||||
UINT32 index;
|
||||
BOOL exists;
|
||||
LONG retval;
|
||||
HRESULT hr;
|
||||
|
|
|
@ -1515,8 +1515,9 @@ static HRESULT WINAPI dwritefactory3_CreateFontFaceReference(IDWriteFactory7 *if
|
|||
|
||||
static HRESULT create_system_path_list(WCHAR ***ret, unsigned int *ret_count)
|
||||
{
|
||||
unsigned int index = 0, value_size, name_count, max_name_count, type, data_size;
|
||||
unsigned int index = 0, value_size, max_name_count;
|
||||
WCHAR **paths = NULL, *name, *value = NULL;
|
||||
DWORD name_count, type, data_size;
|
||||
size_t capacity = 0, count = 0;
|
||||
HKEY hkey;
|
||||
LONG r;
|
||||
|
|
|
@ -4607,8 +4607,8 @@ static void opentype_layout_collect_lookups(struct scriptshaping_context *contex
|
|||
next_bit = global_bit_shift + 1;
|
||||
for (i = 0; i < features->count; ++i)
|
||||
{
|
||||
unsigned int bits_needed;
|
||||
BOOL found = FALSE;
|
||||
DWORD bits_needed;
|
||||
|
||||
feature = &features->features[i];
|
||||
|
||||
|
@ -5077,7 +5077,8 @@ static BOOL opentype_layout_apply_gsub_alt_substitution(struct scriptshaping_con
|
|||
if (format == 1)
|
||||
{
|
||||
const struct ot_gsub_altsubst_format1 *format1 = table_read_ensure(table, subtable_offset, sizeof(*format1));
|
||||
unsigned int shift, alt_index;
|
||||
DWORD shift;
|
||||
unsigned int alt_index;
|
||||
UINT16 set_offset;
|
||||
|
||||
coverage = table_read_be_word(table, subtable_offset + FIELD_OFFSET(struct ot_gsub_altsubst_format1, coverage));
|
||||
|
|
|
@ -67,10 +67,10 @@ void release_scriptshaping_cache(struct scriptshaping_cache *cache)
|
|||
free(cache);
|
||||
}
|
||||
|
||||
static unsigned int shape_select_script(const struct scriptshaping_cache *cache, DWORD kind, const DWORD *scripts,
|
||||
static unsigned int shape_select_script(const struct scriptshaping_cache *cache, DWORD kind, const unsigned int *scripts,
|
||||
unsigned int *script_index)
|
||||
{
|
||||
static const DWORD fallback_scripts[] =
|
||||
static const unsigned int fallback_scripts[] =
|
||||
{
|
||||
DWRITE_MAKE_OPENTYPE_TAG('D','F','L','T'),
|
||||
DWRITE_MAKE_OPENTYPE_TAG('d','f','l','t'),
|
||||
|
|
Loading…
Reference in New Issue