We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5a10d8 commit 443cd53Copy full SHA for 443cd53
1 file changed
src/csprintf_s.h
@@ -34,7 +34,7 @@ char* csprintf_s(char* format, ...) {
34
35
int buffSz = vsnprintf(NULL, 0, format, args);
36
37
- char* buff = malloc(buffSz + 1);
+ char* buff = (char*) malloc(buffSz + 1);
38
vsnprintf(buff, buffSz + 1, format, args);
39
40
va_end(args);
0 commit comments