Codechange: Use std::strto* variants everywhere (#10720)
This commit is contained in:
@@ -538,7 +538,7 @@ bool TarScanner::AddFile(const std::string &filename, size_t basepath_length, co
|
||||
|
||||
/* Calculate the size of the file.. for some strange reason this is stored as a string */
|
||||
strecpy(buf, th.size, lastof(buf));
|
||||
size_t skip = strtoul(buf, &end, 8);
|
||||
size_t skip = std::strtoul(buf, &end, 8);
|
||||
|
||||
switch (th.typeflag) {
|
||||
case '\0':
|
||||
|
Reference in New Issue
Block a user