mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user