]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix lz4.c register compilation from bug #2443
authorKern Sibbald <kern@sibbald.com>
Sun, 27 Jan 2019 10:17:10 +0000 (11:17 +0100)
committerKern Sibbald <kern@sibbald.com>
Sun, 27 Jan 2019 10:17:10 +0000 (11:17 +0100)
bacula/src/lib/lz4.c

index 96422f8c7b306092409c1008d83d4960a17878e6..38fa16a22b0ded02423da55f4cf2efa7c2bae785 100644 (file)
@@ -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) {