Fixed some formatting and a cast.
This commit is contained in:
parent
dbaa47a851
commit
a6e1095cbc
|
@ -423,7 +423,7 @@ SHIM_CALL _vswprintf_shim(
|
|||
XEASSERT(arg_size == 4);
|
||||
if (arg_extras == 0) {
|
||||
uint32_t value = (uint32_t)SHIM_MEM_64(arg_ptr + (arg_index * 8)); // TODO: check if this is correct...
|
||||
const char *pointer = (const char *)SHIM_MEM_ADDR(value);
|
||||
const wchar_t* pointer = (const wchar_t*)SHIM_MEM_ADDR(value);
|
||||
int result = wsprintf(b, local, pointer);
|
||||
b += result;
|
||||
arg_index++;
|
||||
|
|
Loading…
Reference in New Issue