msvcp: Don't cast zero.
This commit is contained in:
parent
0569947da0
commit
cf36ddd6fc
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue