From: Mathieu Desnoyers Date: Thu, 2 Feb 2012 21:17:54 +0000 (-0500) Subject: Fix 32-bit type: allocated len is used X-Git-Tag: v1.9.6~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0cdad3b1a77f830aa0d0a385f0ed4c06fe81c7ef;p=lttng-ust.git Fix 32-bit type: allocated len is used Signed-off-by: Mathieu Desnoyers --- diff --git a/libringbuffer/shm_types.h b/libringbuffer/shm_types.h index 52348443..08226bdd 100644 --- a/libringbuffer/shm_types.h +++ b/libringbuffer/shm_types.h @@ -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 {