/ Check-in [6cc023bb]
Login

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

Overview
Comment:Fix a harmless MSVC compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6cc023bb29be51847fbbfab95c24fc89993ccdba
User & Date: drh 2013-11-19 18:17:20
Context
2013-11-20
00:59
Performance improvement for the OP_MustBeInt opcode in the VDBE. check-in: 96a65388 user: drh tags: trunk
2013-11-19
18:17
Fix a harmless MSVC compiler warning. check-in: 6cc023bb user: drh tags: trunk
13:55
Minor performance improvement to sqlite3SerialTypeGet(). check-in: 17e8524f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts3/fts3.c.

   356    356   
   357    357     for(shift=28; shift<=63; shift+=7){
   358    358       u64 c = *p++;
   359    359       b += (c&0x7F) << shift;
   360    360       if( (c & 0x80)==0 ) break;
   361    361     }
   362    362     *v = b;
   363         -  return p - pStart;
          363  +  return (int)(p - pStart);
   364    364   }
   365    365   
   366    366   /*
   367    367   ** Similar to sqlite3Fts3GetVarint(), except that the output is truncated to a
   368    368   ** 32-bit integer before it is returned.
   369    369   */
   370    370   int sqlite3Fts3GetVarint32(const char *p, int *pi){