mirror of https://github.com/BOINC/boinc.git
compiler warning fix
svn path=/trunk/boinc/; revision=494
This commit is contained in:
parent
447f4202ae
commit
a216c16fc6
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue