msvcp: Don't cast zero.

This commit is contained in:
Michael Stefaniuc 2012-11-18 22:46:29 +01:00 committed by Alexandre Julliard
parent 0569947da0
commit cf36ddd6fc
3 changed files with 3 additions and 3 deletions

View File

@ -3824,7 +3824,7 @@ static int num_get__Getffld(const num_get *this, char *dest, istreambuf_iterator
numpunct_wchar_grouping(numpunct, &grouping_bstr);
grouping = MSVCP_basic_string_char_c_str(&grouping_bstr);
sep = grouping[0] ? numpunct_wchar_thousands_sep(numpunct) : (wchar_t)0;
sep = grouping[0] ? numpunct_wchar_thousands_sep(numpunct) : 0;
if(sep)
MSVCP_basic_string_char_ctor(&groups_found);

View File

@ -4242,7 +4242,7 @@ static int num_get__Getffld(const num_get *this, char *dest, istreambuf_iterator
numpunct_wchar_grouping(numpunct, &grouping_bstr);
grouping = MSVCP_basic_string_char_c_str(&grouping_bstr);
sep = grouping[0] ? numpunct_wchar_thousands_sep(numpunct) : (wchar_t)0;
sep = grouping[0] ? numpunct_wchar_thousands_sep(numpunct) : 0;
if(sep)
MSVCP_basic_string_char_ctor(&groups_found);

View File

@ -4424,7 +4424,7 @@ static int num_get__Getffld(const num_get *this, char *dest, istreambuf_iterator
numpunct_wchar_grouping(numpunct, &grouping_bstr);
grouping = MSVCP_basic_string_char_c_str(&grouping_bstr);
sep = grouping[0] ? numpunct_wchar_thousands_sep(numpunct) : (wchar_t)0;
sep = grouping[0] ? numpunct_wchar_thousands_sep(numpunct) : 0;
if(sep)
MSVCP_basic_string_char_ctor(&groups_found);