summaryrefslogtreecommitdiff
path: root/libsi/util.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-05-19 11:55:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-05-19 11:55:00 +0200
commitc8566fab77ed548241528114acecff0c7e110c0f (patch)
treec0804f459080995478030daf4f5bfc4a30826136 /libsi/util.c
parent54c4e69299b9c818c768e398d171d67cbd4fdea3 (diff)
downloadvdr-c8566fab77ed548241528114acecff0c7e110c0f.tar.gz
vdr-c8566fab77ed548241528114acecff0c7e110c0f.tar.bz2
Removed 'register' from libsi/util.c to avoid a warning with ISO-C++17
Diffstat (limited to 'libsi/util.c')
-rw-r--r--libsi/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsi/util.c b/libsi/util.c
index b0db93e1..6af5c6f3 100644
--- a/libsi/util.c
+++ b/libsi/util.c
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: util.c 1.7 2006/02/18 11:17:50 kls Exp $
+ * $Id: util.c 5.1 2021/05/19 11:55:00 kls Exp $
* *
***************************************************************************/
@@ -266,7 +266,7 @@ u_int32_t CRC32::crc_table[256] = {
u_int32_t CRC32::crc32 (const char *d, int len, u_int32_t crc)
{
- register int i;
+ int i;
const unsigned char *u=(unsigned char*)d; // Saves '& 0xff'
for (i=0; i<len; i++)