Replace use of sprintf with snprint in SparseTensorRuntime.cpp (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Wed, 25 Jan 2023 04:44:22 +0000 (20:44 -0800)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 25 Jan 2023 14:32:44 +0000 (06:32 -0800)
commita988a1f81d0fc2a0f6f4bd6d97051e9b61975f40
tree77c9569d52ca0400d60dc50bdc062c7dc20bb904
parentddc496d184b2698c8fb1865cdd9c22cdb4012ff5
Replace use of sprintf with snprint in SparseTensorRuntime.cpp (NFC)

This fixes a warning on MacOS:

warning: 'sprintf' is deprecated: This function is provided for compatibility
reasons only.  Due to security concerns inherent in the design of sprintf(3),
it is highly recommended that you use snprintf(3) instead.
mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp