*** empty log message ***

svn path=/trunk/boinc/; revision=1658
This commit is contained in:
Karl Chen 2003-07-10 18:42:45 +00:00
parent e6880beda4
commit 47f0238407
1 changed files with 8 additions and 8 deletions

View File

@ -2,18 +2,18 @@
// Version 1.0 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://boinc.berkeley.edu/license_1.0.txt
//
//
// Software distributed under the License is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
// License for the specific language governing rights and limitations
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// The Initial Developer of the Original Code is the SETI@home project.
// Portions created by the SETI@home project are Copyright (C) 2002
// University of California at Berkeley. All Rights Reserved.
//
// University of California at Berkeley. All Rights Reserved.
//
// Contributor(s):
//
@ -129,7 +129,7 @@ int attach_shmem(key_t key, void** pp){
return -1;
}
p = shmat(id, 0, 0);
if ((int)p == -1) {
if ((long)p == -1) {
sprintf(buf, "attach_shmem: shmat: key: %x mem_addr: %p", (unsigned int)key, (void*)pp);
perror(buf);
return -1;