diff options
author | Michele Calgaro <[email protected]> | 2025-01-22 19:06:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-22 19:06:17 +0900 |
commit | 906eb9cec6ac8533ddc86e7d2d26b15356ca0f82 (patch) | |
tree | 7e55a99c781c50e09ef25d2b1dcc09d7524c0f38 | |
parent | 767a7dfb9f860a084066cb7a80a537bf505a4fd9 (diff) | |
download | soundkonverter-906eb9cec6ac8533ddc86e7d2d26b15356ca0f82.tar.gz soundkonverter-906eb9cec6ac8533ddc86e7d2d26b15356ca0f82.zip |
Fix FTBFS due to undefined uchar
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/metadata/m4a/mp4file.cpp | 4 | ||||
-rw-r--r-- | src/metadata/m4a/mp4isofullbox.cpp | 4 | ||||
-rw-r--r-- | src/metadata/m4a/mp4isofullbox.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/metadata/m4a/mp4file.cpp b/src/metadata/m4a/mp4file.cpp index 165fba0..3f5ac48 100644 --- a/src/metadata/m4a/mp4file.cpp +++ b/src/metadata/m4a/mp4file.cpp @@ -131,12 +131,12 @@ uint MP4::File::readSystemsLen() uint length = 0; uint nbytes = 0; ByteVector input; - uchar tmp_input; + unsigned char tmp_input; do { input = readBlock(1); - tmp_input = static_cast<uchar>(input[0]); + tmp_input = static_cast<unsigned char>(input[0]); nbytes++; length = (length<<7) | (tmp_input&0x7F); } while( (tmp_input&0x80) && (nbytes<4) ); diff --git a/src/metadata/m4a/mp4isofullbox.cpp b/src/metadata/m4a/mp4isofullbox.cpp index b104681..8ab2094 100644 --- a/src/metadata/m4a/mp4isofullbox.cpp +++ b/src/metadata/m4a/mp4isofullbox.cpp @@ -27,7 +27,7 @@ using namespace TagLib; class MP4::Mp4IsoFullBox::Mp4IsoFullBoxPrivate { public: - uchar version; + unsigned char version; uint flags; }; // Mp4IsoFullBoxPrivate @@ -55,7 +55,7 @@ void MP4::Mp4IsoFullBox::parsebox() parse(); } -uchar MP4::Mp4IsoFullBox::version() +unsigned char MP4::Mp4IsoFullBox::version() { return d->version; } diff --git a/src/metadata/m4a/mp4isofullbox.h b/src/metadata/m4a/mp4isofullbox.h index bc01b61..986785f 100644 --- a/src/metadata/m4a/mp4isofullbox.h +++ b/src/metadata/m4a/mp4isofullbox.h @@ -38,7 +38,7 @@ namespace TagLib virtual ~Mp4IsoFullBox(); //! function to get the version of box - uchar version(); + unsigned char version(); //! function to get the flag map uint flags(); |