msvcp: Use correct integral types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-03 11:50:18 +01:00 committed by Alexandre Julliard
parent d7dad50544
commit 3fb30b5d75
3 changed files with 7 additions and 7 deletions

View File

@ -8442,7 +8442,7 @@ basic_istream_char* __thiscall basic_istream_char_read_int(basic_istream_char *t
istreambuf_iterator_char first={0}, last={0};
first.strbuf = strbuf;
num_get_char_get_long(numget, &last, first, last, &base->base, &state, v);
num_get_char_get_long(numget, &last, first, last, &base->base, &state, (LONG*)v);
}
basic_istream_char_sentry_destroy(this);
@ -9953,7 +9953,7 @@ static basic_istream_wchar* basic_istream_read_int(basic_istream_wchar *this, in
istreambuf_iterator_wchar first={0}, last={0};
first.strbuf = strbuf;
num_get_wchar_get_long(numget, &last, first, last, &base->base, &state, v);
num_get_wchar_get_long(numget, &last, first, last, &base->base, &state, (LONG*)v);
}
basic_istream_wchar_sentry_destroy(this);

View File

@ -8978,7 +8978,7 @@ basic_istream_char* __thiscall basic_istream_char_read_int(basic_istream_char *t
istreambuf_iterator_char first={0}, last={0};
first.strbuf = strbuf;
num_get_char_get_long(numget, &last, first, last, &base->base, &state, v);
num_get_char_get_long(numget, &last, first, last, &base->base, &state, (LONG*)v);
}
basic_istream_char_sentry_destroy(this);
@ -10560,7 +10560,7 @@ static basic_istream_wchar* basic_istream_read_int(basic_istream_wchar *this, in
istreambuf_iterator_wchar first={0}, last={0};
first.strbuf = strbuf;
num_get_wchar_get_long(numget, &last, first, last, &base->base, &state, v);
num_get_wchar_get_long(numget, &last, first, last, &base->base, &state, (LONG*)v);
}
basic_istream_wchar_sentry_destroy(this);

View File

@ -5931,7 +5931,7 @@ istreambuf_iterator_wchar *__thiscall num_get_wchar_do_get_uint(const num_get *t
istreambuf_iterator_wchar first, istreambuf_iterator_wchar last, ios_base *base, int *state, unsigned int *pval)
{
TRACE("(%p %p %p %p %p)\n", this, ret, base, state, pval);
return num_get_wchar_do_get_ulong(this, ret, first, last, base, state, pval);
return num_get_wchar_do_get_ulong(this, ret, first, last, base, state, (ULONG*)pval);
}
/* ?do_get@?$num_get@GV?$istreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@GU?$char_traits@G@std@@@2@V32@0AAVios_base@2@AAHAAI@Z */
@ -5941,7 +5941,7 @@ istreambuf_iterator_wchar *__thiscall num_get_short_do_get_uint(const num_get *t
istreambuf_iterator_wchar first, istreambuf_iterator_wchar last, ios_base *base, int *state, unsigned int *pval)
{
TRACE("(%p %p %p %p %p)\n", this, ret, base, state, pval);
return num_get_short_do_get_ulong(this, ret, first, last, base, state, pval);
return num_get_short_do_get_ulong(this, ret, first, last, base, state, (ULONG*)pval);
}
/* ?get@?$num_get@_WV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@QBE?AV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@0AAVios_base@2@AAHAAI@Z */
@ -6921,7 +6921,7 @@ istreambuf_iterator_char *__thiscall num_get_char_do_get_uint(const num_get *thi
istreambuf_iterator_char first, istreambuf_iterator_char last, ios_base *base, int *state, unsigned int *pval)
{
TRACE("(%p %p %p %p %p)\n", this, ret, base, state, pval);
return num_get_char_do_get_ulong(this, ret, first, last, base, state, pval);
return num_get_char_do_get_ulong(this, ret, first, last, base, state, (ULONG*)pval);
}
/* ?get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@QBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAAI@Z */