mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Removed 'register' from libsi/util.c to avoid a warning with ISO-C++17
This commit is contained in:
parent
54c4e69299
commit
c8566fab77
1
HISTORY
1
HISTORY
@ -9682,3 +9682,4 @@ Video Disk Recorder Revision History
|
||||
- Removed the macros __STL_CONFIG_H, _STL_ALGOBASE_H and _MOVE_H from tools.h. If your
|
||||
plugin insists in using "using namespace std;" you can still define
|
||||
DISABLE_TEMPLATES_COLLIDING_WITH_STL before including any VDR header files.
|
||||
- Removed 'register' from libsi/util.c to avoid a warning with ISO-C++17.
|
||||
|
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user