Avoid unqualified call to `std::strncpy()`
This commit is contained in:
parent
111d6190cb
commit
6fb16d72eb
|
@ -1172,7 +1172,7 @@ void Id3v2Frame::makeLegacyPicture(
|
||||||
} else {
|
} else {
|
||||||
imageFormat = "UND";
|
imageFormat = "UND";
|
||||||
}
|
}
|
||||||
strncpy(++offset, imageFormat, 3);
|
std::strncpy(++offset, imageFormat, 3);
|
||||||
|
|
||||||
// write picture type
|
// write picture type
|
||||||
*(offset += 3) = static_cast<char>(typeInfo);
|
*(offset += 3) = static_cast<char>(typeInfo);
|
||||||
|
|
Loading…
Reference in New Issue