summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-05-02 18:33:22 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-05-02 18:33:22 -0700
commit6f3abc4e478b9d91c6c3ad41925353bb744e5d2f (patch)
tree5613be75eebbe0b1262474add9b7133e8838f70f /autogen.sh
parent62bfb33c545c6afd0cd5ee050168ce1fd461a956 (diff)
negf: Fix -Wformat-truncation warningHEADmaster
math.c: In function ‘negf’: math.c:474:36: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 474 | snprintf(tmp, sizeof(tmp), "-%s", dispstr); | ^ math.c:474:5: note: ‘snprintf’ output between 2 and 33 bytes into a destination of size 32 474 | snprintf(tmp, sizeof(tmp), "-%s", dispstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/app/xcalc/-/merge_requests/13>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions