mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
- Fix warnings in ros' tests
svn path=/trunk/; revision=38887
This commit is contained in:
parent
26a6195563
commit
eef79b36ef
11 changed files with 23 additions and 27 deletions
|
@ -10,7 +10,7 @@ int main( int argc, char **argv ) {
|
|||
PWCHAR WcharResult;
|
||||
WCHAR ValueNameWC[100];
|
||||
PCHAR CharResult;
|
||||
HANDLE RegKey;
|
||||
HKEY RegKey;
|
||||
int i;
|
||||
|
||||
if( argc < 2 ) {
|
||||
|
@ -56,7 +56,7 @@ int main( int argc, char **argv ) {
|
|||
return 7;
|
||||
}
|
||||
|
||||
RegQueryValueExA( RegKey, argv[2], NULL, NULL, CharResult, &ResultSize );
|
||||
RegQueryValueExA( RegKey, argv[2], NULL, NULL, (PBYTE)CharResult, &ResultSize );
|
||||
|
||||
printf( " char Value: %s\n", CharResult );
|
||||
fflush( stdout );
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<module name="regqueryvalue" type="win32gui" installbase="bin" installname="regqueryvalue.exe" allowwarnings="true">
|
||||
<module name="regqueryvalue" type="win32gui" installbase="bin" installname="regqueryvalue.exe">
|
||||
<define name="__USE_W32API" />
|
||||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue