X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..9663b57d33cc571e269bcfab3d9df43b149162db:/icuSources/samples/layout/UnicodeReader.cpp?ds=sidebyside diff --git a/icuSources/samples/layout/UnicodeReader.cpp b/icuSources/samples/layout/UnicodeReader.cpp index 19989055..47a4386e 100644 --- a/icuSources/samples/layout/UnicodeReader.cpp +++ b/icuSources/samples/layout/UnicodeReader.cpp @@ -1,6 +1,10 @@ /* ****************************************************************************** - * Copyright (C) 1998-2003, International Business Machines Corporation and * + * © 2016 and later: Unicode, Inc. and others. * + * License & terms of use: http://www.unicode.org/copyright.html#License * + ****************************************************************************** + ****************************************************************************** + * Copyright (C) 1998-2005, International Business Machines Corporation and * * others. All Rights Reserved. * ****************************************************************************** */ @@ -32,7 +36,7 @@ const UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSuppor char *byteBuffer; char startBytes[4] = {'\xA5', '\xA5', '\xA5', '\xA5'}; char errorMessage[128]; - char *cp = ""; + const char *cp = ""; int32_t signatureLength = 0; f = fopen(fileName, "rb");