/ Check-in [902d0cb8e3]
Login

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

Overview
Comment:Fix harmless compiler warning with MSVC.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 902d0cb8e31cf816ab054caccff24172a041160d
User & Date: mistachkin 2015-05-08 01:04:39
Context
2015-05-09
10:27
Bump the version number to 3.8.10.1 check-in: 9c6bf0c186 user: drh tags: trunk
2015-05-08
01:04
Fix harmless compiler warning with MSVC. check-in: 902d0cb8e3 user: mistachkin tags: trunk
00:58
Remove a couple stray test breakpoint calls. check-in: 2860cebeea user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.

  3254   3254           fprintf(stderr, "unknown limit: \"%s\"\n"
  3255   3255                           "enter \".limits\" with no arguments for a list.\n",
  3256   3256                            azArg[1]);
  3257   3257           rc = 1;
  3258   3258           goto meta_command_exit;
  3259   3259         }
  3260   3260         if( nArg==3 ){
  3261         -        sqlite3_limit(p->db, aLimit[iLimit].limitCode, integerValue(azArg[2]));
         3261  +        sqlite3_limit(p->db, aLimit[iLimit].limitCode,
         3262  +                      (int)integerValue(azArg[2]));
  3262   3263         }
  3263   3264         printf("%20s %d\n", aLimit[iLimit].zLimitName,
  3264   3265                sqlite3_limit(p->db, aLimit[iLimit].limitCode, -1));
  3265   3266       }
  3266   3267     }else
  3267   3268   
  3268   3269   #ifndef SQLITE_OMIT_LOAD_EXTENSION