From: Eric Bollengier Date: Mon, 4 Jan 2016 18:42:34 +0000 (+0100) Subject: Fix #1548 about Solaris SIGBUS with accurate mode backup X-Git-Tag: Release-7.4.0~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=940e7d37b015236e292e9ca23513b9c45faa49c2;p=bacula%2Fbacula Fix #1548 about Solaris SIGBUS with accurate mode backup The memory structure was not aligned properly on sparc systems (8 bytes) --- diff --git a/bacula/src/lib/htable.h b/bacula/src/lib/htable.h index 73c6eb6d96..a419b5a468 100644 --- a/bacula/src/lib/htable.h +++ b/bacula/src/lib/htable.h @@ -70,8 +70,8 @@ struct hlink { struct h_mem { struct h_mem *next; /* next buffer */ - char *mem; /* memory pointer */ - int32_t rem; /* remaining bytes in big_buffer */ + char *mem; /* memory pointer */ + int64_t rem; /* remaining bytes in big_buffer */ char first[1]; /* first byte */ };