From: Kern Sibbald Date: Sun, 27 Jan 2019 10:17:10 +0000 (+0100) Subject: Fix lz4.c register compilation from bug #2443 X-Git-Tag: Release-9.4.2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb9b76b0ebd21ba12fa0b9ae902278b3c0ed755;p=thirdparty%2Fbacula.git Fix lz4.c register compilation from bug #2443 --- diff --git a/bacula/src/lib/lz4.c b/bacula/src/lib/lz4.c index 96422f8c7..38fa16a22 100644 --- a/bacula/src/lib/lz4.c +++ b/bacula/src/lib/lz4.c @@ -30,6 +30,8 @@ You can contact the author at : - LZ4 homepage : http://www.lz4.org - LZ4 source repository : https://github.com/lz4/lz4 + + Tweaked for proper compliation in Bacula by KES 27 Jan 2019 */ @@ -307,7 +309,7 @@ static const int LZ4_minLength = (MFLIMIT+1); /*-************************************ * Common functions **************************************/ -static unsigned LZ4_NbCommonBytes (register reg_t val) +static unsigned LZ4_NbCommonBytes (reg_t val) { if (LZ4_isLittleEndian()) { if (sizeof(val)==8) {