compiler warning fix

svn path=/trunk/boinc/; revision=494
This commit is contained in:
Eric Heien 2002-10-14 21:10:31 +00:00
parent 447f4202ae
commit a216c16fc6
2 changed files with 6 additions and 2 deletions

View File

@ -2,10 +2,12 @@
#include "md5_file.h"
main(int, char** argv) {
int main(int, char** argv) {
char out[33];
double nbytes;
md5_file(argv[1], out, nbytes);
printf("%s\n%f bytes\n", out, nbytes);
return 0;
}

View File

@ -13,7 +13,7 @@
#include "shmem.h"
main(int argc, char** argv) {
int main(int argc, char** argv) {
void* p;
int retval;
@ -25,4 +25,6 @@ main(int argc, char** argv) {
} else if (!strcmp(argv[1], "-c")) {
create_shmem(KEY, 100, &p);
}
return 0;
}