]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/cintltst/ucnvseltst.c
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / cintltst / ucnvseltst.c
index d990ea4f8f4e0566dff7214f35911d34d22f7af7..7e5138a93b8445c3539f2790c39298b4c23aa419 100644 (file)
@@ -240,7 +240,7 @@ text_open(TestText *tt) {
     fclose(f);
     return FALSE;
   }
-  if (length != fread(tt->text, 1, length, f)) {
+  if (length != (int32_t)fread(tt->text, 1, length, f)) {
     log_err("error reading %ld bytes from test text file\n", (long)length);
     length = 0;
     uprv_free(tt->text);
@@ -386,7 +386,7 @@ static void TestSelector()
     return;
   }
   if (!text_open(&text)) {
-    releaseAvailableNames();;
+    releaseAvailableNames();
   }
 
   excluded_sets[0] = uset_openEmpty();