/ Check-in [98ec778d]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix harmless compiler warning seen with MSVC.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 98ec778daac835d9ae103f6460b7d897981a5dd6
User & Date: mistachkin 2015-12-31 19:04:42
Context
2015-12-31
19:06
In the shell, use utf8_printf() when any string formatting is present and raw_printf() otherwise. check-in: 8cf01fff user: mistachkin tags: trunk
19:04
Fix harmless compiler warning seen with MSVC. check-in: 98ec778d user: mistachkin tags: trunk
15:34
Fix harmless compiler warnings associated with SQLITE_ENABLE_HIDDEN_COLUMNS. check-in: 9c392c10 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/build.c.

   440    440   static void freeIndex(sqlite3 *db, Index *p){
   441    441   #ifndef SQLITE_OMIT_ANALYZE
   442    442     sqlite3DeleteIndexSamples(db, p);
   443    443   #endif
   444    444     sqlite3ExprDelete(db, p->pPartIdxWhere);
   445    445     sqlite3ExprListDelete(db, p->aColExpr);
   446    446     sqlite3DbFree(db, p->zColAff);
   447         -  if( p->isResized ) sqlite3DbFree(db, p->azColl);
          447  +  if( p->isResized ) sqlite3DbFree(db, (void *)p->azColl);
   448    448   #ifdef SQLITE_ENABLE_STAT3_OR_STAT4
   449    449     sqlite3_free(p->aiRowEst);
   450    450   #endif
   451    451     sqlite3DbFree(db, p);
   452    452   }
   453    453   
   454    454   /*