Debian Codegraph @

debian/patches/03-gcc7.patch

raw symbols SCIP
1 Authorscip-debian debian dump1090-mutability 1.15~20180310.4a16df3+dfsg-8.2 dump1090-mutability/patches/`03-gcc7.patch`#Author.: Matteo F. Vescovi <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Descriptionscip-debian debian dump1090-mutability 1.15~20180310.4a16df3+dfsg-8.2 dump1090-mutability/patches/`03-gcc7.patch`#Description.: Fix FTBFS against gcc7
3 Forwardedscip-debian debian dump1090-mutability 1.15~20180310.4a16df3+dfsg-8.2 dump1090-mutability/patches/`03-gcc7.patch`#Forwarded.: not-needed
4
5 diff --git a/interactive.cscip-debian debian dump1090-mutability 1.15~20180310.4a16df3+dfsg-8.2 dump1090-mutability/upstream/`interactive.c`: b/interactive.cscip-debian debian dump1090-mutability 1.15~20180310.4a16df3+dfsg-8.2 dump1090-mutability/upstream/`interactive.c`:
6 index 9137790..f906923 100644
7 --- a/interactive.c
8 +++ b/interactive.c
9 @@ -118,7 +118,7 @@ void interactiveShowData(void) {
10 || (((flags & (MODEAC_MSG_MODES_HIT | MODEAC_MSG_MODEC_OLD )) == 0 ) && (msgs > 127) )
11 ) {
12 char strSquawk[5] = " ";
13 - char strFl[7] = " ";
14 + char strFl[12] = " ";
15 char strTt[5] = " ";
16 char strGs[5] = " ";
17
18 @@ -140,7 +140,7 @@ void interactiveShowData(void) {
19
20 if (Modes.interactive_rtl1090) { // RTL1090 display mode
21 if (trackDataValid(&a->altitude_valid)) {
22 - snprintf(strFl,6,"F%03d",((a->altitude+50)/100));
23 + snprintf(strFl,11,"F%03d",((a->altitude+50)/100));
24 }
25 printf("%06x %-8s %-4s %-3s %-3s %4s %-6d %-2.0f\n",
26 a->addr, a->callsign, strFl, strGs, strTt, strSquawk, msgs, (now - a->seen)/1000.0);