30 lines
901 B
Diff
30 lines
901 B
Diff
|
From 8696d5408d6ec14b1ff4395ed538b7a48528fe68 Mon Sep 17 00:00:00 2001
|
||
|
From: phunkyfish <phunkyfish@gmail.com>
|
||
|
Date: Thu, 8 Oct 2020 16:12:18 +0100
|
||
|
Subject: [PATCH] Revert "Removed no more supported (C++17) declaration keyword
|
||
|
(register)"
|
||
|
|
||
|
This reverts commit a8edcafe6cc7a424615319995f4f7bdfab3856b1.
|
||
|
|
||
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||
|
---
|
||
|
src/lib/tsreader/DvbUtil.cpp | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/lib/tsreader/DvbUtil.cpp b/src/lib/tsreader/DvbUtil.cpp
|
||
|
index c973062..8c4798a 100644
|
||
|
--- a/src/lib/tsreader/DvbUtil.cpp
|
||
|
+++ b/src/lib/tsreader/DvbUtil.cpp
|
||
|
@@ -77,7 +77,7 @@ namespace MPTV
|
||
|
//*******************************************************************
|
||
|
uint32_t crc32(char *data, int len)
|
||
|
{
|
||
|
- int i;
|
||
|
+ register int i;
|
||
|
uint32_t crc = 0xffffffff;
|
||
|
|
||
|
for (i = 0; i < len; i++)
|
||
|
--
|
||
|
2.29.2
|
||
|
|