]> skyeroc.xyz Git - dgamelaunch/commitdiff
Use longs in shmem structs (Might prevent alignment problems)
authorPasi Kallinen <paxed@alt.org>
Sun, 2 May 2010 08:15:01 +0000 (08:15 +0000)
committerPasi Kallinen <paxed@alt.org>
Sun, 2 May 2010 08:15:01 +0000 (08:15 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@541 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.h

index cfd56f6908648145c1d7d8357066b709e8067649..e3cace2eb38bef40f06fcbdd9b1595c583ab0857 100644 (file)
@@ -86,15 +86,15 @@ struct dg_shm
 #ifdef USE_SHMEM
     sem_t dg_sem;
 #endif
-    int max_n_games;
-    int cur_n_games;
+    long max_n_games;
+    long cur_n_games;
 };
 
 struct dg_shm_game
 {
-    int  in_use;
-    int  nwatchers;
-    char ttyrec_fn[150];
+    long  in_use;
+    long  nwatchers;
+    char  ttyrec_fn[150];
 };
 
 struct dg_game