Skip to content
Permalink
Browse files
Merge pull request #5952 from lioncash/futureproofing
CommonTypes: Qualify standard integral types in typedefs with std::
  • Loading branch information
leoetlino committed Aug 21, 2017
2 parents 5aed9a6 + 7a55774 commit 92b375b
Showing 1 changed file with 8 additions and 8 deletions.
@@ -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;

0 comments on commit 92b375b

Please sign in to comment.