Copter: report version print fix

Found by Covarity
This commit is contained in:
Randy Mackay 2016-08-08 12:15:14 +09:00
parent f4fee69f29
commit 83c3659acc
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ void Copter::print_enabled(bool b)
void Copter::report_version() void Copter::report_version()
{ {
cliSerial->printf("FW Ver: %d\n",(int)g.k_format_version); cliSerial->printf("FW Ver: %d\n",(int)(g.k_format_version));
print_divider(); print_divider();
print_blanks(2); print_blanks(2);
} }