From: Mathieu Desnoyers Date: Thu, 2 Feb 2012 21:14:06 +0000 (-0500) Subject: Fix 32-bit type mismatch X-Git-Tag: v1.9.6~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4e918eab0496b86c6a4f7e46c1b0a78d21a6bb54;p=lttng-ust.git Fix 32-bit type mismatch Signed-off-by: Mathieu Desnoyers --- diff --git a/libringbuffer/shm_types.h b/libringbuffer/shm_types.h index 10fb1ae0..52348443 100644 --- a/libringbuffer/shm_types.h +++ b/libringbuffer/shm_types.h @@ -20,7 +20,7 @@ struct shm_object { int wait_fd[2]; /* fd for wait/wakeup */ char *memory_map; int is_shadow; - size_t memory_map_size; + uint64_t memory_map_size; size_t allocated_len; };