mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
removed not needed typecasts. thanks Thomas
svn path=/trunk/; revision=19627
This commit is contained in:
parent
25f762940f
commit
210c904be2
2 changed files with 7 additions and 7 deletions
|
@ -121,7 +121,7 @@ int SetStatus (int status1, int status2, WCHAR* text)
|
|||
// If the Status is 1000 things are done
|
||||
if(status1==1000)
|
||||
{
|
||||
wprintf(L"%s\n", PML_TransError(status2, (WCHAR*)errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
wprintf(L"%s\n", PML_TransError(status2, errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
done = TRUE;
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,7 @@ int Install (void)
|
|||
if(error)
|
||||
{
|
||||
|
||||
wprintf(PML_TransError(error, (WCHAR*)errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
wprintf(PML_TransError(error, errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -163,7 +163,7 @@ int Install (void)
|
|||
if(error)
|
||||
{
|
||||
|
||||
wprintf(PML_TransError(error, (WCHAR*)errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
wprintf(PML_TransError(error, errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
PML_CloseTree (tree);
|
||||
return 0;
|
||||
}
|
||||
|
@ -188,7 +188,7 @@ int Show (void)
|
|||
error = PML_LoadTree (&tree, "tree.xml", NULL);
|
||||
if(error)
|
||||
{
|
||||
wprintf(PML_TransError(error, (WCHAR*)errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
wprintf(PML_TransError(error, errbuf, sizeof(errbuf)/sizeof(WCHAR)));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue