aboutsummaryrefslogtreecommitdiff
path: root/jimtcl.pc.in
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2018-07-26 22:59:45 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2018-07-26 22:59:45 +0200
commit9c0b02e25a843662944ad63c1ae252c0bdd783c1 (patch)
tree156123f16d7f7b9b825a4bdab65a21cc56277c36 /jimtcl.pc.in
parentc85fd71f5c16aa15cec247e3b2edc1e8145639f1 (diff)
downloadjimtcl-9c0b02e25a843662944ad63c1ae252c0bdd783c1.zip
jimtcl-9c0b02e25a843662944ad63c1ae252c0bdd783c1.tar.gz
jimtcl-9c0b02e25a843662944ad63c1ae252c0bdd783c1.tar.bz2
jim-interp.c: fix compile warning with GCC 8.1.1
GCC complains about possible truncation from snprintf() jim-interp.c: In function ‘JimInterpCommand’: jim-interp.c:164:46: warning: ‘%ld’ directive output may be truncated writing between 1 and 20 bytes into a region of size 19 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "interp.handle%ld", Jim_GetId(interp)); ^~~ jim-interp.c:164:32: note: directive argument in the range [-9223372036854775807, 9223372036854775807] snprintf(buf, sizeof(buf), "interp.handle%ld", Jim_GetId(interp)); ^~~~~~~~~~~~~~~~~~ jim-interp.c:164:5: note: ‘snprintf’ output between 15 and 34 bytes into a destination of size 32 snprintf(buf, sizeof(buf), "interp.handle%ld", Jim_GetId(interp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'jimtcl.pc.in')
0 files changed, 0 insertions, 0 deletions