From: kasper3 <33230602+kasper3@users.noreply.github.com> Date: Sun, 1 Jul 2018 09:51:09 +0000 (+0000) Subject: Fix enum alignment X-Git-Tag: accepted/tizen/unified/20190813.215958~141^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08bc2bf9b7de78ae8f80fdb08b7e1bf0cb8c1615;p=platform%2Fupstream%2Fcoreclr.git Fix enum alignment --- diff --git a/src/corefx/System.Globalization.Native/pal_calendarData.h b/src/corefx/System.Globalization.Native/pal_calendarData.h index 53b1b5e..394c612 100644 --- a/src/corefx/System.Globalization.Native/pal_calendarData.h +++ b/src/corefx/System.Globalization.Native/pal_calendarData.h @@ -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