TESTS: fix unsigned/signed warning in writesame tests

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2016-05-23 21:47:21 -07:00
parent 66f55eb3e0
commit 99980b2437
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ test_writesame10_check(void)
{ {
int i; int i;
int ws_max_blocks = 256; int ws_max_blocks = 256;
char read_buf[ws_max_blocks * block_size]; unsigned char read_buf[ws_max_blocks * block_size];
CHECK_FOR_DATALOSS; CHECK_FOR_DATALOSS;
CHECK_FOR_SBC; CHECK_FOR_SBC;
+1 -1
View File
@@ -33,7 +33,7 @@ test_writesame16_check(void)
{ {
int i; int i;
int ws_max_blocks = 256; int ws_max_blocks = 256;
char read_buf[ws_max_blocks * block_size]; unsigned char read_buf[ws_max_blocks * block_size];
CHECK_FOR_DATALOSS; CHECK_FOR_DATALOSS;
CHECK_FOR_SBC; CHECK_FOR_SBC;