msvcrt: Avoid superfluous cast of MSVCRT_malloc return value
Frédéric Delanoy
frederic.delanoy at gmail.com
Thu Oct 20 18:44:45 CDT 2011
---
dlls/msvcrt/math.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index 2e3b4fc..4f187de 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -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;
--
1.7.7
More information about the wine-patches
mailing list