Skip to content

Commit 356f41d

Browse files
author
Michael Fero
committed
Use sprintf for simple support of all MSVC compilers
1 parent 53cfb30 commit 356f41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/concurrent_executions/concurrent_executions.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void insert_into_concurrent_executions() {
122122
cass_statement_set_is_idempotent(statement, cass_true);
123123
cass_uuid_gen_random(uuid_gen, &uuid);
124124
cass_statement_bind_uuid_by_name(statement, "id", uuid);
125-
snprintf(value_buffer, sizeof(value_buffer), "%d", i);
125+
sprintf(value_buffer, "%d", i);
126126
cass_statement_bind_string_by_name(statement, "value", value_buffer);
127127

128128
futures[i] = cass_session_execute(session, statement);

0 commit comments

Comments
 (0)