Fix another string format where %d is used but an unsigned int is passed
This commit is contained in:
parent
859ba3b422
commit
1269d73690
2
mode_s.c
2
mode_s.c
|
@ -1141,7 +1141,7 @@ void displayModesMessage(struct modesMessage *mm) {
|
|||
if (mm->timestampMsg == MAGIC_MLAT_TIMESTAMP)
|
||||
printf("This is a synthetic MLAT message.\n");
|
||||
else
|
||||
printf("Time: %.2fus (phase: %d)\n", mm->timestampMsg / 12.0, (unsigned int) (360 * (mm->timestampMsg % 6) / 6));
|
||||
printf("Time: %.2fus (phase: %u)\n", mm->timestampMsg / 12.0, (unsigned int) (360 * (mm->timestampMsg % 6) / 6));
|
||||
}
|
||||
|
||||
if (mm->msgtype == 0) { // DF 0
|
||||
|
|
Loading…
Reference in a new issue