pv 955274 - Fix random test failures due to u_char to char type mismatch comparison.

Merge of master-melb:xfs-cmds:27090a by kenmcd.

  pv 955274 - Fix random test failures due to u_char to char type mismatch comparison.
This commit is contained in:
Vlad Apostolov
2006-10-02 03:55:04 +00:00
parent a15a1cb0ed
commit f3982a5a7e
+1 -1
View File
@@ -245,7 +245,7 @@ main(
/* Be sure the buffer is filled with the test char */
error_reported = 0;
for (k=0; k<i; k++){
if (((char *)bufp)[k] == ch) {
if (((u_char *)bufp)[k] == ch) {
if (Vflag) printf(".");
}
else {