diff options
author | Michele Calgaro <[email protected]> | 2025-01-22 19:06:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-22 21:40:31 +0900 |
commit | 34d733475f8f959d9bac4afdfe4cc639c31d0d16 (patch) | |
tree | 7af3fd27d3729ca18f8b413b4bf001366bb231a9 /src/metadata/m4a/mp4file.cpp | |
parent | 4fa25f4036d5949d5b2bbd9bd521961834712a87 (diff) | |
download | soundkonverter-34d733475f8f959d9bac4afdfe4cc639c31d0d16.tar.gz soundkonverter-34d733475f8f959d9bac4afdfe4cc639c31d0d16.zip |
Fix FTBFS due to undefined uchar
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 906eb9cec6ac8533ddc86e7d2d26b15356ca0f82)
Diffstat (limited to 'src/metadata/m4a/mp4file.cpp')
-rw-r--r-- | src/metadata/m4a/mp4file.cpp | 4 |
1 files changed, 2 insertions, 2 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) ); |