From: compudj Date: Thu, 26 Apr 2007 18:03:24 +0000 (+0000) Subject: fix 64 bits archs with 32 bits processes X-Git-Tag: v0.12.20~983 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=505932fe50784c7ce907c7814a869db6ce6c780a;p=lttv.git fix 64 bits archs with 32 bits processes git-svn-id: http://ltt.polymtl.ca/svn@2506 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt-usertrace/ltt/ltt-usertrace.h b/ltt-usertrace/ltt/ltt-usertrace.h index 3918e70e..5bf5b8a9 100644 --- a/ltt-usertrace/ltt/ltt-usertrace.h +++ b/ltt-usertrace/ltt/ltt-usertrace.h @@ -101,13 +101,13 @@ typedef unsigned int ltt_facility_t; struct user_facility_info { char name[FACNAME_LEN]; - unsigned int num_events; - size_t alignment; + uint32_t num_events; + uint32_t alignment; uint32_t checksum; - size_t int_size; - size_t long_size; - size_t pointer_size; - size_t size_t_size; + uint32_t int_size; + uint32_t long_size; + uint32_t pointer_size; + uint32_t uint32_t_size; }; #if 0 static inline __attribute__((no_instrument_function))