One day I will get this right.

I had not tested the build under POSIX
This commit is contained in:
dogmaphobic 2015-12-28 17:02:32 -05:00
parent 1869b6ff97
commit b4e69ccd4b
2 changed files with 1 additions and 2 deletions

View File

@ -455,7 +455,7 @@ LogListHelper::_scan_logs(FILE* f, const char* dir, time_t& date)
snprintf(log_file_path, sizeof(log_file_path), "%s/%s", dir, entry.d_name);
if(_get_log_time_size(log_file_path, entry.d_name, ldate, size)) {
//-- Write entry out to list file
fprintf(f, "%u %u %s\n", ldate, size, log_file_path);
fprintf(f, "%u %u %s\n", (unsigned)ldate, (unsigned)size, log_file_path);
log_count++;
}
}

View File

@ -88,7 +88,6 @@ private:
class MavlinkLogHandler : public MavlinkStream
{
public:
/// @brief Contructor is only public so unit test code can new objects.
MavlinkLogHandler(Mavlink *mavlink);
static MavlinkLogHandler *new_instance(Mavlink *mavlink);