Fix 32-bit type: allocated len is used
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Feb 2012 21:17:54 +0000 (16:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Feb 2012 21:17:54 +0000 (16:17 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/shm_types.h

index 52348443f4b99549d49ba1ee3dc06007239d94f7..08226bdd214cae5e65ae0a4af6b26bc57078d3bf 100644 (file)
@@ -20,8 +20,8 @@ struct shm_object {
        int wait_fd[2]; /* fd for wait/wakeup */
        char *memory_map;
        int is_shadow;
-       uint64_t memory_map_size;
-       size_t allocated_len;
+       size_t memory_map_size;
+       uint64_t allocated_len;
 };
 
 struct shm_object_table {
This page took 0.026028 seconds and 4 git commands to generate.