perl/Test-Simple: update to 1.302205
[oi-userland.git] / components / library / id3lib / patches / 06-gcc10.patch
blob96bf9c18bf0e196316dea70150003b2bb18d10f8
1 --- id3lib-3.8.3/examples/test_io.cpp.orig 2003-03-02 01:23:00.000000000 +0000
2 +++ id3lib-3.8.3/examples/test_io.cpp 2022-12-27 19:36:48.451799573 +0000
3 @@ -24,7 +24,7 @@
4 ID3D_INIT_WARNING();
5 ID3D_INIT_NOTICE();
7 - ID3_IStreamReader isr(cin);
8 + ID3_IStreamReader isr(std::cin);
9 BString orig = io::readAllBinary(isr);
11 cout << "input size: " << orig.size() << endl;
12 @@ -116,7 +116,7 @@
13 cout << "binary number:";
14 for (size_t i = 0; i < number.size(); ++i)
16 - cout << " 0x" << hex << (size_t) (0xFF & number[i]) << dec;
17 + cout << " 0x" << std::hex << (size_t) (0xFF & number[i]) << std::dec;
19 cout << endl;