diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-10-01 15:51:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 15:51:16 +0200 |
commit | 8972b74fd072286bf7ada214e96a50445b69abaf (patch) | |
tree | c3c483f6a32838aacfe81928094f3ccf4099a71d /doc/img | |
parent | 26b1899d9274b07b04032468e33a14a36756a63f (diff) |
Fix builds on Windows (#2580)
Quick fix with latest Windows image on GitHub CI, where we got:
```
ndpiReader.c:2860:38: error: '%s' directive output may be truncated writing up to 64 bytes into a region of size 63 [-Werror=format-truncation=]
2860 | snprintf(srcip, sizeof(srcip), "[%s]", flow->src_name);
| ^~
ndpiReader.c:2860:5: note: 'snprintf' output between 3 and 67 bytes into a destination of size 64
2860 | snprintf(srcip, sizeof(srcip), "[%s]", flow->src_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ndpiReader.c:2861:38: error: '%s' directive output may be truncated writing up to 64 bytes into a region of size 63 [-Werror=format-truncation=]
2861 | snprintf(dstip, sizeof(dstip), "[%s]", flow->dst_name);
| ^~
ndpiReader.c:2861:5: note: 'snprintf' output between 3 and 67 bytes into a destination of size 64
2861 | snprintf(dstip, sizeof(dstip), "[%s]", flow->dst_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Diffstat (limited to 'doc/img')
0 files changed, 0 insertions, 0 deletions