From 940e7d37b015236e292e9ca23513b9c45faa49c2 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 4 Jan 2016 19:42:34 +0100 Subject: [PATCH] Fix #1548 about Solaris SIGBUS with accurate mode backup The memory structure was not aligned properly on sparc systems (8 bytes) --- bacula/src/lib/htable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ }; -- 2.39.5