Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: third_party/sqlite/src/src/test4.c

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/src/test3.c ('k') | third_party/sqlite/src/src/test7.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/test4.c
diff --git a/third_party/sqlite/src/src/test4.c b/third_party/sqlite/src/src/test4.c
index a6375c7cc403f60caab7e959533e3db1ff750ae4..d68903030330003c2b45d858b560ea03725aff7e 100644
--- a/third_party/sqlite/src/src/test4.c
+++ b/third_party/sqlite/src/src/test4.c
@@ -270,7 +270,7 @@ static int tcl_thread_argc(
return TCL_ERROR;
}
thread_wait(&threadset[i]);
- sprintf(zBuf, "%d", threadset[i].argc);
+ sqlite3_snprintf(sizeof(zBuf), zBuf, "%d", threadset[i].argc);
Tcl_AppendResult(interp, zBuf, 0);
return TCL_OK;
}
« no previous file with comments | « third_party/sqlite/src/src/test3.c ('k') | third_party/sqlite/src/src/test7.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698