X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/2ca993e82fb37b597a3c73ecd1586a139a6579c5..249c4c5ea9376c24572daf9c2effa7484a282f14:/icuSources/test/intltest/reldatefmttest.cpp diff --git a/icuSources/test/intltest/reldatefmttest.cpp b/icuSources/test/intltest/reldatefmttest.cpp index 864aa5e9..c0765ddc 100644 --- a/icuSources/test/intltest/reldatefmttest.cpp +++ b/icuSources/test/intltest/reldatefmttest.cpp @@ -1,3 +1,5 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * Copyright (C) 2013-2016, International Business Machines Corporation and @@ -712,10 +714,10 @@ void RelativeDateTimeFormatterTest::TestGetters() { // copy and assignment. RelativeDateTimeFormatter fmt2(fmt); fmt3 = fmt2; - assertEquals("style", UDAT_STYLE_NARROW, fmt3.getFormatStyle()); + assertEquals("style", (int32_t)UDAT_STYLE_NARROW, fmt3.getFormatStyle()); assertEquals( "context", - UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE, + (int32_t)UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE, fmt3.getCapitalizationContext()); assertSuccess("", status); }