msvcrt: Avoid superfluous cast of MSVCRT_malloc return value.

This commit is contained in:
Frédéric Delanoy 2011-10-21 01:44:45 +02:00 committed by Alexandre Julliard
parent 9696705859
commit 7bfe648666

View file

@ -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;