DataFlash: fixed build warning on cygwin
This commit is contained in:
parent
cf582cdb12
commit
57f7af504d
@ -297,15 +297,15 @@ bool DataFlash_Class::validate_structure(const struct LogStructure *logstructure
|
||||
|
||||
// ensure we have units for each field:
|
||||
if (strlen(logstructure->units) != fieldcount) {
|
||||
Debug("fieldcount=%u does not match unitcount=%lu",
|
||||
fieldcount, strlen(logstructure->units));
|
||||
Debug("fieldcount=%u does not match unitcount=%u",
|
||||
(unsigned)fieldcount, (unsigned)strlen(logstructure->units));
|
||||
passed = false;
|
||||
}
|
||||
|
||||
// ensure we have multipliers for each field
|
||||
if (strlen(logstructure->multipliers) != fieldcount) {
|
||||
Debug("fieldcount=%u does not match multipliercount=%lu",
|
||||
fieldcount, strlen(logstructure->multipliers));
|
||||
Debug("fieldcount=%u does not match multipliercount=%u",
|
||||
(unsigned)fieldcount, (unsigned)strlen(logstructure->multipliers));
|
||||
passed = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user