mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 04:00:34 +00:00
Use C++ cast insted of C-style cast
This commit is contained in:
parent
d738d893c6
commit
7f23b6d88b
@ -82,8 +82,8 @@ int my_strverscmp(const char *s1, const char *s2)
|
||||
const int8_t CMP = 2;
|
||||
const int8_t LEN = 3;
|
||||
|
||||
const unsigned char *p1 = (const unsigned char *)s1;
|
||||
const unsigned char *p2 = (const unsigned char *)s2;
|
||||
const auto *p1 = reinterpret_cast<const unsigned char *>(s1);
|
||||
const auto *p2 = reinterpret_cast<const unsigned char *>(s2);
|
||||
/* Symbol(s) 0 [1-9] others
|
||||
Transition (10) 0 (01) d (00) x */
|
||||
static const uint8_t next_state[] =
|
||||
|
Loading…
Reference in New Issue
Block a user