Skip to content

Commit

Permalink
Build: Fix gcc warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mity committed Feb 4, 2020
1 parent 28f65df commit fb0dd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-build.c
Expand Up @@ -72,7 +72,7 @@ strres_enum_lang(HMODULE dll, const TCHAR* type, const TCHAR* name, WORD lang_id

if(len > 0) {
TEST_CHECK_(strres_is_zero_terminated(str, len), "[%u:%u] zero-terminated",
lang_id, (((ULONG_PTR)name - 1) * 16 + i));
lang_id, (unsigned)(((ULONG_PTR)name - 1) * 16 + i));
str += len;
}
}
Expand Down

0 comments on commit fb0dd85

Please sign in to comment.