Merge pull request #5952 from lioncash/futureproofing

CommonTypes: Qualify standard integral types in typedefs with std::
This commit is contained in:
Leo Lam 2017-08-21 11:07:34 +02:00 committed by GitHub
commit 92b375b07a

View File

@ -18,12 +18,12 @@
#define LONG int
#endif
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
using u8 = std::uint8_t;
using u16 = std::uint16_t;
using u32 = std::uint32_t;
using u64 = std::uint64_t;
typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
using s8 = std::int8_t;
using s16 = std::int16_t;
using s32 = std::int32_t;
using s64 = std::int64_t;