- Fix warnings in ros' tests

svn path=/trunk/; revision=38887
This commit is contained in:
Stefan Ginsberg 2009-01-18 12:20:51 +00:00
parent 26a6195563
commit eef79b36ef
11 changed files with 23 additions and 27 deletions

View file

@ -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 );

View file

@ -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>