Fix static analysis warnings
This commit is contained in:
parent
6f703ac334
commit
088115b86e
@ -143,7 +143,7 @@ template<>
|
|||||||
struct char_traits<unsigned char> : std::char_traits<char>
|
struct char_traits<unsigned char> : std::char_traits<char>
|
||||||
{
|
{
|
||||||
using char_type = unsigned char;
|
using char_type = unsigned char;
|
||||||
using int_type = unsigned long;
|
using int_type = uint64_t;
|
||||||
|
|
||||||
// Redefine to_int_type function
|
// Redefine to_int_type function
|
||||||
static int_type to_int_type(char_type c)
|
static int_type to_int_type(char_type c)
|
||||||
@ -162,7 +162,7 @@ template<>
|
|||||||
struct char_traits<signed char> : std::char_traits<char>
|
struct char_traits<signed char> : std::char_traits<char>
|
||||||
{
|
{
|
||||||
using char_type = signed char;
|
using char_type = signed char;
|
||||||
using int_type = unsigned long;
|
using int_type = uint64_t;
|
||||||
|
|
||||||
// Redefine to_int_type function
|
// Redefine to_int_type function
|
||||||
static int_type to_int_type(char_type c)
|
static int_type to_int_type(char_type c)
|
||||||
|
|||||||
@ -6226,7 +6226,7 @@ template<>
|
|||||||
struct char_traits<unsigned char> : std::char_traits<char>
|
struct char_traits<unsigned char> : std::char_traits<char>
|
||||||
{
|
{
|
||||||
using char_type = unsigned char;
|
using char_type = unsigned char;
|
||||||
using int_type = unsigned long;
|
using int_type = uint64_t;
|
||||||
|
|
||||||
// Redefine to_int_type function
|
// Redefine to_int_type function
|
||||||
static int_type to_int_type(char_type c)
|
static int_type to_int_type(char_type c)
|
||||||
@ -6245,7 +6245,7 @@ template<>
|
|||||||
struct char_traits<signed char> : std::char_traits<char>
|
struct char_traits<signed char> : std::char_traits<char>
|
||||||
{
|
{
|
||||||
using char_type = signed char;
|
using char_type = signed char;
|
||||||
using int_type = unsigned long;
|
using int_type = uint64_t;
|
||||||
|
|
||||||
// Redefine to_int_type function
|
// Redefine to_int_type function
|
||||||
static int_type to_int_type(char_type c)
|
static int_type to_int_type(char_type c)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user