View | Details | Raw Unified
Collapse All | Expand All

(-) boinc_public/lib/shmem.C.orig (-1 / +1 lines)
 Lines 128-134    Link Here 
        return ERR_SHMGET;
        return ERR_SHMGET;
    }
    }
    p = shmat(id, 0, 0);
    p = shmat(id, 0, 0);
    if ((int)p == -1) {
    if ((long)p == -1) {
        return ERR_SHMAT;
        return ERR_SHMAT;
    }
    }
    *pp = p;
    *pp = p;