Fix enum alignment
authorkasper3 <33230602+kasper3@users.noreply.github.com>
Sun, 1 Jul 2018 09:51:09 +0000 (09:51 +0000)
committerFilip Navara <filip.navara@gmail.com>
Sun, 3 Feb 2019 10:17:59 +0000 (11:17 +0100)
src/corefx/System.Globalization.Native/pal_calendarData.h

index 53b1b5e..394c612 100644 (file)
@@ -11,7 +11,7 @@
 /*
 * These values should be kept in sync with System.Globalization.CalendarId
 */
-typedef enum
+enum
 {
     UNINITIALIZED_VALUE = 0,
     GREGORIAN = 1,               // Gregorian (localized) calendar
@@ -40,7 +40,8 @@ typedef enum
     PERSIAN = 22,
     UMALQURA = 23,
     LAST_CALENDAR = 23 // Last calendar ID
-} CalendarId;
+};
+typedef uint16_t CalendarId;
 
 /*
 * These values should be kept in sync with System.Globalization.CalendarDataType