mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-15 02:20:14 +03:00
Added CRT stuff to printfs
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "print.hpp"
|
||||
|
||||
void printf_divagl(const char* fmt, ...) {
|
||||
void printf_divagl(_In_z_ _Printf_format_string_ const char* const fmt, ...) {
|
||||
char buf[0x1000];
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
@@ -14,7 +14,7 @@ void printf_divagl(const char* fmt, ...) {
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
void printf_proxy(const char* fmt, ...) {
|
||||
void printf_proxy(_In_z_ _Printf_format_string_ const char* const fmt, ...) {
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
vprintf(fmt, args);
|
||||
|
||||
Reference in New Issue
Block a user