make shm marker architecture independant, patch from michich, closes #401
authorLennart Poettering <lennart@poettering.net>
Sat, 1 Nov 2008 20:41:07 +0000 (21:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Nov 2008 20:41:07 +0000 (21:41 +0100)
src/pulsecore/shm.c

index b299757..c59d247 100644 (file)
 struct shm_marker PA_GCC_PACKED {
     pa_atomic_t marker; /* 0xbeefcafe */
     pa_atomic_t pid;
-    uint64_t *_reserverd1;
-    uint64_t *_reserverd2;
-    uint64_t *_reserverd3;
-    uint64_t *_reserverd4;
+    uint64_t _reserved1;
+    uint64_t _reserved2;
+    uint64_t _reserved3;
+    uint64_t _reserved4;
 };
 
 static char *segment_name(char *fn, size_t l, unsigned id) {