Fix static analysis warnings

This commit is contained in:
Colby Haskell 2023-11-05 11:28:22 -05:00
parent 6f703ac334
commit 088115b86e
2 changed files with 4 additions and 4 deletions

View File

@ -143,7 +143,7 @@ template<>
struct char_traits<unsigned char> : std::char_traits<char>
{
using char_type = unsigned char;
using int_type = unsigned long;
using int_type = uint64_t;
// Redefine to_int_type function
static int_type to_int_type(char_type c)
@ -162,7 +162,7 @@ template<>
struct char_traits<signed char> : std::char_traits<char>
{
using char_type = signed char;
using int_type = unsigned long;
using int_type = uint64_t;
// Redefine to_int_type function
static int_type to_int_type(char_type c)

View File

@ -6226,7 +6226,7 @@ template<>
struct char_traits<unsigned char> : std::char_traits<char>
{
using char_type = unsigned char;
using int_type = unsigned long;
using int_type = uint64_t;
// Redefine to_int_type function
static int_type to_int_type(char_type c)
@ -6245,7 +6245,7 @@ template<>
struct char_traits<signed char> : std::char_traits<char>
{
using char_type = signed char;
using int_type = unsigned long;
using int_type = uint64_t;
// Redefine to_int_type function
static int_type to_int_type(char_type c)