[pulseaudio-commits] r2252 - /branches/glitch-free/src/pulsecore/shm.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri Apr 11 09:38:16 PDT 2008


Author: lennart
Date: Fri Apr 11 18:38:16 2008
New Revision: 2252

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2252&root=pulseaudio&view=rev
Log:
make shm magic marker compat with multiarch systems where 64bit and 32bit processes might share SHM areas

Modified:
    branches/glitch-free/src/pulsecore/shm.c

Modified: branches/glitch-free/src/pulsecore/shm.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/shm.c?rev=2252&root=pulseaudio&r1=2251&r2=2252&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/shm.c (original)
+++ branches/glitch-free/src/pulsecore/shm.c Fri Apr 11 18:38:16 2008
@@ -73,10 +73,10 @@
 struct shm_marker {
     pa_atomic_t marker; /* 0xbeefcafe */
     pa_atomic_t pid;
-    void *_reserverd1;
-    void *_reserverd2;
-    void *_reserverd3;
-    void *_reserverd4;
+    uint64_t *_reserverd1;
+    uint64_t *_reserverd2;
+    uint64_t *_reserverd3;
+    uint64_t *_reserverd4;
 };
 
 static char *segment_name(char *fn, size_t l, unsigned id) {




More information about the pulseaudio-commits mailing list