From 8bfffa51d773d2411cf7b8ac513ef1f50e1a4773 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 21 Jul 2013 21:56:18 +0000 Subject: [PATCH] Replace 'unsigned short' with 'uint16_t' in a packed data structure for consistency with other fields and to be explicit about bit count. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186796 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/DiagnosticIDs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Basic/DiagnosticIDs.cpp b/lib/Basic/DiagnosticIDs.cpp index 898c51c497..31e5e6a741 100644 --- a/lib/Basic/DiagnosticIDs.cpp +++ b/lib/Basic/DiagnosticIDs.cpp @@ -36,7 +36,7 @@ enum { }; struct StaticDiagInfoRec { - unsigned short DiagID; + uint16_t DiagID; unsigned Mapping : 3; unsigned Class : 3; unsigned SFINAE : 1; -- 2.40.0