Skip to content

Commit 443cd53

Browse files
committed
Tiny fix
1 parent f5a10d8 commit 443cd53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/csprintf_s.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ char* csprintf_s(char* format, ...) {
3434

3535
int buffSz = vsnprintf(NULL, 0, format, args);
3636

37-
char* buff = malloc(buffSz + 1);
37+
char* buff = (char*) malloc(buffSz + 1);
3838
vsnprintf(buff, buffSz + 1, format, args);
3939

4040
va_end(args);

0 commit comments

Comments
 (0)