Commit bc21376
committed
Compilation waring in
In `pre.l` we got warnings like:
```
.../src/pre.l:4094:33: warning: ‘ ’ directive output may be truncated writing 1 byte into a region of size between 0 and 5 [-Wformat-truncation=]
4094 | contents+=lineNrStr;
| ^
.../src/pre.l:4094:19: note: ‘snprintf’ output between 7 and 12 bytes into a destination of size 10
4094 | contents+=lineNrStr;
| ~~~~~~~~^~~~~~~~~~~~
```
Increasing the buffer slightly resolves this problem.pre.l
1 parent 1040db6 commit bc21376
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4089 | 4089 | | |
4090 | 4090 | | |
4091 | 4091 | | |
4092 | | - | |
4093 | | - | |
| 4092 | + | |
| 4093 | + | |
4094 | 4094 | | |
4095 | 4095 | | |
4096 | 4096 | | |
| |||
0 commit comments