[nostalgia] Cleanup unnecessary cast

This commit is contained in:
2020-01-24 23:16:38 -06:00
parent 892fec6905
commit 22680ffaf0
4 changed files with 10 additions and 10 deletions

View File

@@ -29,7 +29,7 @@ ox::Error run(ox::FileSystem *fs) {
int main(int argc, const char **argv) {
if (argc > 1) {
ox::FileSystem *fs = nullptr;
uint8_t *rom = nullptr;
char *rom = nullptr;
auto path = argv[1];
const auto lastDot = ox_lastIndexOf(path, '.');
const auto fsExt = lastDot != -1 ? path + lastDot : "";