Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 136862 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 136862