[Scummvm-git-logs] scummvm master -> 6a82f704d4a4d160413b81879eada1973d3a1502

lephilousophe lephilousophe at users.noreply.github.com
Wed Aug 11 10:01:55 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6a82f704d4 COMMON: Fix build with old GCC


Commit: 6a82f704d4a4d160413b81879eada1973d3a1502
    https://github.com/scummvm/scummvm/commit/6a82f704d4a4d160413b81879eada1973d3a1502
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-08-11T12:01:40+02:00

Commit Message:
COMMON: Fix build with old GCC

Changed paths:
    common/crc.h


diff --git a/common/crc.h b/common/crc.h
index 0641fdf147..502aeef449 100644
--- a/common/crc.h
+++ b/common/crc.h
@@ -262,22 +262,22 @@ T CRC<T>::finalize(T remainder) {
 
 class CRC_CCITT : public CRC<uint16> {
 public:
-	CRC_CCITT() : CRC(0x1021, 0xFFFF, 0x0000, false) {}
+	CRC_CCITT() : CRC<uint16>(0x1021, 0xFFFF, 0x0000, false) {}
 };
 
 class CRC_BINHEX : public CRC<uint16> {
 public:
-	CRC_BINHEX() : CRC(0x1021, 0x0000, 0x0000, false) {}
+	CRC_BINHEX() : CRC<uint16>(0x1021, 0x0000, 0x0000, false) {}
 };
 
 class CRC16 : public CRC<uint16> {
 public:
-	CRC16() : CRC(0x8005, 0x0000, 0x0000, true) {}
+	CRC16() : CRC<uint16>(0x8005, 0x0000, 0x0000, true) {}
 };
 
 class CRC32 : public CRC<uint32> {
 public:
-	CRC32() : CRC(0x04C11DB7, 0xFFFFFFFF, 0xFFFFFFFF, true) {}
+	CRC32() : CRC<uint32>(0x04C11DB7, 0xFFFFFFFF, 0xFFFFFFFF, true) {}
 };
 
 } // End of namespace Common




More information about the Scummvm-git-logs mailing list