1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[encoding] compilation fix (unsigned int bitfields)

This commit is contained in:
Witold Filipczyk 2024-04-18 08:51:56 +02:00
parent 49ef584853
commit 324bd02aa9
3 changed files with 5 additions and 5 deletions

View File

@ -36,8 +36,8 @@ struct bz2_enc_data {
* end-of-stream marker and all data has been decompressed.
* Then we neither read from the file nor call BZ2_bzDecompress
* any more. */
int last_read:1;
int after_end:1;
unsigned int last_read:1;
unsigned int after_end:1;
/* A buffer for data that has been read from the file but not
* yet decompressed. fbz_stream.next_in and fbz_stream.avail_in

View File

@ -27,8 +27,8 @@
struct lzma_enc_data {
lzma_stream flzma_stream;
int fdread;
int last_read:1;
int after_end:1;
unsigned int last_read:1;
unsigned int after_end:1;
unsigned char buf[ELINKS_BZ_BUFFER_LENGTH];
};

View File

@ -35,7 +35,7 @@ struct zstd_enc_data {
size_t sent_pos;
/* The file descriptor from which we read. */
int fdread;
int decoded:1;
unsigned int decoded:1;
};
static int