Cleanup: remove some unneeded c_str() calls

This commit is contained in:
Rubidium
2021-06-14 23:17:58 +02:00
committed by rubidium42
parent 05005dcdfa
commit d31a535c87
4 changed files with 6 additions and 6 deletions

View File

@@ -182,7 +182,7 @@ struct ScriptFileChecksumCreator : FileScanner {
byte tmp_md5sum[16];
/* Open the file ... */
FILE *f = FioFOpenFile(filename.c_str(), "rb", this->dir, &size);
FILE *f = FioFOpenFile(filename, "rb", this->dir, &size);
if (f == nullptr) return false;
/* ... calculate md5sum... */