Skip to content

Commit 2f54776

Browse files
committed
Make an element type (char) match the type of the array it is from (unsigned char)
1 parent 7583c66 commit 2f54776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bigfile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ attrset_write_attr_set_v2(BigAttrSet * attrset, const char * basename)
16111611
strcat(textual, " ");
16121612
}
16131613
} else { /* pretty print string encoded as a1 or S1. */
1614-
char buf[] = {adata[j], 0};
1614+
unsigned char buf[] = {adata[j], 0};
16151615
if(buf[0] == '\n') {
16161616
strcat(textual, "...");
16171617
break;

0 commit comments

Comments
 (0)