]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/layout/UnicodeReader.cpp
ICU-511.32.tar.gz
[apple/icu.git] / icuSources / samples / layout / UnicodeReader.cpp
index 19989055ef5cb45c93d08567ed39f169fddd6535..ab5a7ef70b7adf44d80afbccd940968c74abce3f 100644 (file)
@@ -1,6 +1,6 @@
 /*
  ******************************************************************************
- * Copyright (C) 1998-2003, International Business Machines Corporation and   *
+ * Copyright (C) 1998-2005, International Business Machines Corporation and   *
  * others. All Rights Reserved.                                               *
  ******************************************************************************
  */
@@ -32,7 +32,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");