mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
msvcrt: Avoid superfluous cast of MSVCRT_malloc return value.
This commit is contained in:
parent
9696705859
commit
7bfe648666
1 changed files with 1 additions and 1 deletions
|
@ -1351,7 +1351,7 @@ int CDECL _ecvt_s( char *buffer, MSVCRT_size_t length, double number, int ndigit
|
|||
/* handle cases with zero ndigits or less */
|
||||
prec = ndigits;
|
||||
if( prec < 1) prec = 2;
|
||||
result = (char*)MSVCRT_malloc(prec + 7);
|
||||
result = MSVCRT_malloc(prec + 7);
|
||||
|
||||
if( number < 0) {
|
||||
*sign = TRUE;
|
||||
|
|
Loading…
Reference in a new issue