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

Unified Diff: third_party/sqlite/sqlite-src-3080704/src/test_hexio.c

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 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
Index: third_party/sqlite/sqlite-src-3080704/src/test_hexio.c
diff --git a/third_party/sqlite/sqlite-src-3070603/src/test_hexio.c b/third_party/sqlite/sqlite-src-3080704/src/test_hexio.c
similarity index 99%
copy from third_party/sqlite/sqlite-src-3070603/src/test_hexio.c
copy to third_party/sqlite/sqlite-src-3080704/src/test_hexio.c
index e3258e869eb144dd8ae202b3f0c01ed43ad83b5f..b20b5ce730ab7fa800d2d0cc38c77275593ebdbb 100644
--- a/third_party/sqlite/sqlite-src-3070603/src/test_hexio.c
+++ b/third_party/sqlite/sqlite-src-3080704/src/test_hexio.c
@@ -126,7 +126,7 @@ static int hexio_read(
return TCL_ERROR;
}
fseek(in, offset, SEEK_SET);
- got = fread(zBuf, 1, amt, in);
+ got = (int)fread(zBuf, 1, amt, in);
fclose(in);
if( got<0 ){
got = 0;
@@ -178,7 +178,7 @@ static int hexio_write(
return TCL_ERROR;
}
fseek(out, offset, SEEK_SET);
- written = fwrite(aOut, 1, nOut, out);
+ written = (int)fwrite(aOut, 1, nOut, out);
sqlite3_free(aOut);
fclose(out);
Tcl_SetObjResult(interp, Tcl_NewIntObj(written));
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/src/test_func.c ('k') | third_party/sqlite/sqlite-src-3080704/src/test_init.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698