diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-02 18:33:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-02 18:33:22 -0700 |
commit | 6f3abc4e478b9d91c6c3ad41925353bb744e5d2f (patch) | |
tree | 5613be75eebbe0b1262474add9b7133e8838f70f /xcalc.man | |
parent | 62bfb33c545c6afd0cd5ee050168ce1fd461a956 (diff) |
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 'xcalc.man')
0 files changed, 0 insertions, 0 deletions