[1/6] msvcrt: Implement strcpy_s
dmitry at codeweavers.com
Thu Nov 15 07:47:21 CST 2007
"Stefan Dösinger" <stefan at codeweavers.com> wrote:
> +int CDECL MSVCRT_strcpy_s( char* dst, size_t elem, const char* src )
> + unsigned int i;
> + for(i = 0; i < elem; i++)
Since 'i' is used to enumerate [0 < elem] and elem has type size_t, 'i' should
have type size_t as well.
> +static int (*pstrcpy_s)(char *dst, unsigned int len, const char *src);
But here 'len' has type 'unsigned int' for some reason.
More information about the wine-devel