Fixed some formatting and a cast.

This commit is contained in:
gibbed 2014-01-17 18:57:56 -08:00
parent dbaa47a851
commit a6e1095cbc
1 changed files with 10 additions and 10 deletions

View File

@ -423,7 +423,7 @@ SHIM_CALL _vswprintf_shim(
XEASSERT(arg_size == 4); XEASSERT(arg_size == 4);
if (arg_extras == 0) { if (arg_extras == 0) {
uint32_t value = (uint32_t)SHIM_MEM_64(arg_ptr + (arg_index * 8)); // TODO: check if this is correct... 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); int result = wsprintf(b, local, pointer);
b += result; b += result;
arg_index++; arg_index++;