]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/datefmt/main.cpp
ICU-64232.0.1.tar.gz
[apple/icu.git] / icuSources / samples / datefmt / main.cpp
index dd1796a989671ab4e4bdb077aa6a42be32144a23..9fb22e50530e96492bad27e92037abb66f9946b1 100644 (file)
@@ -48,13 +48,13 @@ int main(int argc, char **argv) {
     UDate date;
 
     // The languages in which we will display the date
-    static char* LANGUAGE[] = {
+    static const char* LANGUAGE[] = {
         "en", "de", "fr"
     };
     static const int32_t N_LANGUAGE = sizeof(LANGUAGE)/sizeof(LANGUAGE[0]);
 
     // The time zones in which we will display the time
-    static char* TIMEZONE[] = {
+    static const char* TIMEZONE[] = {
         "America/Los_Angeles",
         "America/New_York",
         "Europe/Paris",