c09bbc14defeab7b517ddc2d2bd5102ba8fc161d
[buildroot.git] /
1 From 8696d5408d6ec14b1ff4395ed538b7a48528fe68 Mon Sep 17 00:00:00 2001
2 From: phunkyfish <phunkyfish@gmail.com>
3 Date: Thu, 8 Oct 2020 16:12:18 +0100
4 Subject: [PATCH] Revert "Removed no more supported (C++17) declaration keyword
5 (register)"
6
7 This reverts commit a8edcafe6cc7a424615319995f4f7bdfab3856b1.
8
9 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
10 ---
11 src/lib/tsreader/DvbUtil.cpp | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/src/lib/tsreader/DvbUtil.cpp b/src/lib/tsreader/DvbUtil.cpp
15 index c973062..8c4798a 100644
16 --- a/src/lib/tsreader/DvbUtil.cpp
17 +++ b/src/lib/tsreader/DvbUtil.cpp
18 @@ -77,7 +77,7 @@ namespace MPTV
19 //*******************************************************************
20 uint32_t crc32(char *data, int len)
21 {
22 - int i;
23 + register int i;
24 uint32_t crc = 0xffffffff;
25
26 for (i = 0; i < len; i++)
27 --
28 2.29.2
29