commit | d8e32d95a1bff2639f9ede9eae9b07b53f37bdac | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Sat Mar 28 21:57:26 2020 +0000 |
committer | Ben Hutchings <ben@decadent.org.uk> | Sat Mar 28 21:57:26 2020 +0000 |
tree | 628db0286bb9a23df437227bbbfa3ee6151a4b72 | |
parent | 4df1269fca48492c39ce82500be05c3f520af1ff [diff] |
[klibc] Suppress format truncation warnings for sprintf() and vsprintf() These functions pass a huge maximum size to the corresponding length-limiting functions. gcc warns about this and suggests that we should pass INT_MAX at most. I don't think this is correct, so suppress the warnings. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>