Replace sprintf by snprintf
authorCarlos Eduardo Seo <carlos.seo@linaro.org>
Thu, 29 Jun 2023 14:08:10 +0000 (11:08 -0300)
committerCarlos Eduardo Seo <carlos.seo@linaro.org>
Thu, 29 Jun 2023 16:48:44 +0000 (16:48 +0000)
commite8fcc475580a3fc9927e76cffe5d8d8b368d6830
treede41d3f0d0e80aef20373fdd48fbfde407ecbdca
parente4f932e5ed716e754f728d250e7fb2e46419f338
Replace sprintf by snprintf

The macOS toolchain deprecated sprintf in favor of snprintf. This was blocking
the build on macOS. Replaced all instances of sprintf by snprintf.
flang/unittests/Decimal/quick-sanity-test.cpp
flang/unittests/Decimal/thorough-test.cpp