64-bit compile fix

svn path=/trunk/boinc/; revision=9024
This commit is contained in:
David Anderson 2005-12-03 07:51:04 +00:00
parent b426db53a4
commit 40306067cb
2 changed files with 7 additions and 1 deletions

View File

@ -14178,3 +14178,9 @@ David 2 Dec 2005
cliengui/
DlgSelectComputer.cpp
David 2 Dec 2005
- compile fix for 64-bit machines
lib/
shmem.C

View File

@ -196,7 +196,7 @@ int attach_shmem(key_t key, void** pp){
return ERR_SHMGET;
}
p = shmat(id, 0, 0);
if ((int)p == -1) {
if ((long)p == -1) {
return ERR_SHMAT;
}
*pp = p;