Module: wine Branch: master Commit: 91f2b04625682dd6cec46e9b9888a1164e6a94e7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=91f2b04625682dd6cec46e9b98...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 28 15:34:01 2014 +0200
msvcp90: Fix the mbstowcs_s macro return value.
---
dlls/msvcp90/msvcp90.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcp90/msvcp90.h b/dlls/msvcp90/msvcp90.h index f5e79f5..0d5e124 100644 --- a/dlls/msvcp90/msvcp90.h +++ b/dlls/msvcp90/msvcp90.h @@ -528,6 +528,6 @@ typedef struct { #if _MSVCP_VER < 80 #define memcpy_s( dst, size, src, count ) (memcpy( (dst), (src), (count) ), 0) #define memmove_s( dst, size, src, count ) (memmove( (dst), (src), (count) ), 0) -#define mbstowcs_s( ret, wcs, size, mbs, count ) (mbstowcs( (wcs), (mbs), (count) )) +#define mbstowcs_s( ret, wcs, size, mbs, count ) (mbstowcs( (wcs), (mbs), (count) ), 0) #define hypotf( x, y ) ((float)hypot( (double)(x), (double)(y) )) #endif