mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:43:34 +08:00
Fix build error.
This commit is contained in:
@@ -62,7 +62,7 @@ static const char *kTmpData = MOUNTPOINT "/$log$.txt";
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
static bool
|
||||
stat_file(const char* file, uint32_t* date = 0, uint32_t* size = 0) {
|
||||
stat_file(const char* file, time_t* date = 0, uint32_t* size = 0) {
|
||||
struct stat st;
|
||||
if (stat(file, &st) == 0) {
|
||||
if (date) *date = st.st_mtime;
|
||||
|
||||
Reference in New Issue
Block a user