[PATCH] include: Fix sprintf_s declaration.

Piotr Caban piotr.caban at gmail.com
Thu Feb 4 13:09:42 CST 2021


Hi Daniel,

On 2/4/21 6:41 PM, Daniel Lehman wrote:
> -static inline int WINAPIV sprintf_s(char *buffer, size_t size, size_t count, const char *format, ...)
> +static inline int WINAPIV sprintf_s(char *buffer, size_t size, const char *format, ...)
Please pass the size to the __stdio_common_vsprintf_s call (instead of -1).

Could you please also fix vsprintf_s definition?

Thanks,
Piotr



More information about the wine-devel mailing list