diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-01-23 15:12:08 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-01-23 15:12:08 -0800 |
commit | 9bb2632309310037d9d3af858f1537c4da593fde (patch) | |
tree | e4f1fc933f136dcea2e8d8b9f5373370e8d894e8 /test/core/transport/chttp2 | |
parent | 68cc1afda5b59811b3eda1e6df1c0961d9e7ca14 (diff) |
Remove uses of sprintf
Diffstat (limited to 'test/core/transport/chttp2')
-rw-r--r-- | test/core/transport/chttp2/hpack_table_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/transport/chttp2/hpack_table_test.c b/test/core/transport/chttp2/hpack_table_test.c index 29d30e6bbd..d155dee9dc 100644 --- a/test/core/transport/chttp2/hpack_table_test.c +++ b/test/core/transport/chttp2/hpack_table_test.c @@ -250,7 +250,7 @@ static void test_find(void) { for (i = 0; i < tbl.num_ents; i++) { int expect = 9999 - i; - sprintf(buffer, "%d", expect); + gpr_ltoa(expect, buffer); r = find_simple(&tbl, "test", buffer); GPR_ASSERT(r.index == i + 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY); |