mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed compiler warnings
svn path=/trunk/; revision=1025
This commit is contained in:
parent
ef5b0066c7
commit
fd304f0ef5
3 changed files with 8 additions and 3 deletions
|
@ -11,7 +11,7 @@ DWORD WINAPI thread( LPVOID crap )
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main( void )
|
||||||
{
|
{
|
||||||
DWORD id, Status;
|
DWORD id, Status;
|
||||||
printf( "Creating events\n" );
|
printf( "Creating events\n" );
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
int main()
|
int main( void )
|
||||||
{
|
{
|
||||||
HANDLE file;
|
HANDLE file;
|
||||||
char buffer[4096];
|
char buffer[4096];
|
||||||
|
@ -47,4 +48,6 @@ int main()
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Finished\n");
|
printf("Finished\n");
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int main()
|
int main( void )
|
||||||
{
|
{
|
||||||
HANDLE file = CreateFile( "test.dat", GENERIC_READ | GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, 0 );
|
HANDLE file = CreateFile( "test.dat", GENERIC_READ | GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, 0 );
|
||||||
char buffer[4096];
|
char buffer[4096];
|
||||||
|
@ -34,4 +34,6 @@ int main()
|
||||||
exit(3);
|
exit(3);
|
||||||
}
|
}
|
||||||
cout << "Test passed" << endl;
|
cout << "Test passed" << endl;
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue