spice/tools
Frediano Ziglio 2f5d0b502f Make reds_stat utility work with both 32 and 64 bit architectures.
Due to alignment problems the structure of statistics file is
different between 32 and 64 bit. This as on 32 bit uint64_t is
aligned to 4 bytes instead of 8 so sizeof(SpiceStat) can be either
20 (32 bit) or 24 (64 bit).
This cause reds_stat utility to be bit dependent.
Detect the correct SpiceStat size and use that information.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Pavel Grunt <pgrunt@redhat.com>
2016-10-27 15:51:27 +01:00
..
bitmap_to_c.c Add missing includes of config.h 2012-01-13 18:11:59 +02:00
icon_to_c.c Add missing includes of config.h 2012-01-13 18:11:59 +02:00
Makefile.am Add reds_stat to compiled software 2016-10-19 07:13:59 +01:00
reds_stat.c Make reds_stat utility work with both 32 and 64 bit architectures. 2016-10-27 15:51:27 +01:00