diff --git a/AK/StdLibExtras.h b/AK/StdLibExtras.h index 96a36c7ea9..bfaaa4aac1 100644 --- a/AK/StdLibExtras.h +++ b/AK/StdLibExtras.h @@ -321,52 +321,52 @@ struct MakeUnsigned { template<> struct MakeUnsigned { - typedef unsigned char type; + typedef unsigned char Type; }; template<> struct MakeUnsigned { - typedef unsigned short type; + typedef unsigned short Type; }; template<> struct MakeUnsigned { - typedef unsigned type; + typedef unsigned Type; }; template<> struct MakeUnsigned { - typedef unsigned long type; + typedef unsigned long Type; }; template<> struct MakeUnsigned { - typedef unsigned long long type; + typedef unsigned long long Type; }; template<> struct MakeUnsigned { - typedef unsigned char type; + typedef unsigned char Type; }; template<> struct MakeUnsigned { - typedef unsigned short type; + typedef unsigned short Type; }; template<> struct MakeUnsigned { - typedef unsigned type; + typedef unsigned Type; }; template<> struct MakeUnsigned { - typedef unsigned long type; + typedef unsigned long Type; }; template<> struct MakeUnsigned { - typedef unsigned long long type; + typedef unsigned long long Type; }; template @@ -375,52 +375,52 @@ struct MakeSigned { template<> struct MakeSigned { - typedef signed char type; + typedef signed char Type; }; template<> struct MakeSigned { - typedef short type; + typedef short Type; }; template<> struct MakeSigned { - typedef int type; + typedef int Type; }; template<> struct MakeSigned { - typedef long type; + typedef long Type; }; template<> struct MakeSigned { - typedef long long type; + typedef long long Type; }; template<> struct MakeSigned { - typedef char type; + typedef char Type; }; template<> struct MakeSigned { - typedef short type; + typedef short Type; }; template<> struct MakeSigned { - typedef int type; + typedef int Type; }; template<> struct MakeSigned { - typedef long type; + typedef long Type; }; template<> struct MakeSigned { - typedef long long type; + typedef long long Type; }; template diff --git a/AK/Types.h b/AK/Types.h index 58bb08cfe5..87acffceec 100644 --- a/AK/Types.h +++ b/AK/Types.h @@ -42,7 +42,7 @@ typedef __INT8_TYPE__ i8; #ifdef __serenity__ typedef __SIZE_TYPE__ size_t; -typedef MakeSigned::type ssize_t; +typedef MakeSigned::Type ssize_t; typedef __PTRDIFF_TYPE__ ptrdiff_t; diff --git a/Libraries/LibX86/Instruction.h b/Libraries/LibX86/Instruction.h index 1c4f87e9e1..08cb5f38f4 100644 --- a/Libraries/LibX86/Instruction.h +++ b/Libraries/LibX86/Instruction.h @@ -47,7 +47,7 @@ template struct TypeTrivia { static const size_t bits = sizeof(T) * 8; static const T sign_bit = 1 << (bits - 1); - static const T mask = typename MakeUnsigned::type(-1); + static const T mask = typename MakeUnsigned::Type(-1); }; template