summaryrefslogtreecommitdiff
blob: a0624b3e05a2c62c9e15112339560351cfc8930d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- boinc_public/lib/shmem.C.orig	2005-11-11 02:46:07.000000000 +0100
+++ boinc_public/lib/shmem.C	2005-11-11 02:46:20.000000000 +0100
@@ -128,7 +128,7 @@
         return ERR_SHMGET;
     }
     p = shmat(id, 0, 0);
-    if ((int)p == -1) {
+    if ((long)p == -1) {
         return ERR_SHMAT;
     }
     *pp = p;