Commit 7bfe6486 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

msvcrt: Avoid superfluous cast of MSVCRT_malloc return value.

parent 96967058
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment