aboutsummaryrefslogtreecommitdiff
path: root/tests/test_stream_flags.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/test_stream_flags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_stream_flags.c b/tests/test_stream_flags.c
index 0de87cd1..ead75501 100644
--- a/tests/test_stream_flags.c
+++ b/tests/test_stream_flags.c
@@ -95,7 +95,7 @@ test_encode_invalid(void)
expect(lzma_stream_footer_encode(&known_flags, buffer)
== LZMA_PROG_ERROR);
- known_flags.check = (lzma_check_type)(-1);
+ known_flags.check = (lzma_check)(-1);
expect(lzma_stream_header_encode(&known_flags, buffer)
== LZMA_PROG_ERROR);
@@ -171,7 +171,7 @@ main(void)
// Valid headers
known_flags.backward_size = 1024;
- for (lzma_check_type check = LZMA_CHECK_NONE;
+ for (lzma_check check = LZMA_CHECK_NONE;
check <= LZMA_CHECK_ID_MAX; ++check) {
test_header();
test_footer();