mirror of https://github.com/FreeRDP/FreeRDP
Fixed Wformat warnings
This commit is contained in:
parent
7e31b877fc
commit
3ddf99ad64
|
@ -485,7 +485,7 @@ int TestClientRdpFile(int argc, char* argv[])
|
|||
puValue = (const UINT32*)freerdp_settings_get_pointer_array(settings, FreeRDP_MonitorIds, 0);
|
||||
if (!puValue)
|
||||
{
|
||||
printf("FreeRDP_MonitorIds has invalid value %p", puValue);
|
||||
printf("FreeRDP_MonitorIds has invalid value %p", (const void*)puValue);
|
||||
goto fail;
|
||||
}
|
||||
if ((puValue[0] != 3) || (puValue[1] != 2) || (puValue[2] != 42) || (puValue[3] != 23))
|
||||
|
|
|
@ -38,7 +38,8 @@ static BOOL test_entry_read_write(void)
|
|||
sr = Stream_New(NULL, 1024);
|
||||
if (!sr || !sw)
|
||||
{
|
||||
fprintf(stderr, "[%s] Could not create iostreams sw=%p, sr=%p\n", __FUNCTION__, sw, sr);
|
||||
fprintf(stderr, "[%s] Could not create iostreams sw=%p, sr=%p\n", __FUNCTION__, (void*)sw,
|
||||
(void*)sr);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
@ -82,7 +82,8 @@ int TestString(int argc, char* argv[])
|
|||
|
||||
if (p != NULL)
|
||||
{
|
||||
printf("_wcschr error: return value mismatch: Actual: %p, Expected: NULL\n", p);
|
||||
printf("_wcschr error: return value mismatch: Actual: %p, Expected: NULL\n",
|
||||
(const void*)p);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue