Skip to content

Commit

Permalink
Fix compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios committed Jul 20, 2023
1 parent 7fd0edb commit 546c00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/file_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ int platform_file_manager_list_directory_contents(
// Skip current (.), parent (..) and hidden directories (.*)
continue;
}
match = callback(name, file_info.st_mtime);
match = callback(name, (long) file_info.st_mtime);
} else if (file_has_extension(name, extension)) {
match = callback(name, file_info.st_mtime);
match = callback(name, (long) file_info.st_mtime);
}
if (match == LIST_MATCH) {
break;
Expand Down

0 comments on commit 546c00b

Please sign in to comment.