-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi,
I'm having a problem compiling mafToFastaStitcher.
I'm getting this error
src/mafToFastaStitcherAPI.c:655:22: error: ‘%lu’ directive writing between 1 and 19 bytes into a region of size 7 [-Werror=format-overflow=]
sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2);
^~~~~~~
src/mafToFastaStitcherAPI.c:655:27: note: format string is defined here
sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2);
src/mafToFastaStitcherAPI.c:655:22: note: directive argument in the range [3, 9223372036854775808]
sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2);
^~~~~~~
src/mafToFastaStitcherAPI.c:655:5: note: ‘sprintf’ output between 6 and 24 bytes into a destination of size 10
sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Can you help?
Thanks a lot
Francesco
Metadata
Metadata
Assignees
Labels
No labels