~ubuntu-branches/ubuntu/wily/sqlite3/wily

« back to all changes in this revision

Viewing changes to src/test3.c

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-05-23 00:22:02 UTC
  • mfrom: (0.32.1) (1.6.4) (9.1.35 sid)
  • Revision ID: package-import@ubuntu.com-20120523002202-fueloshwtj57cadf
Tags: 3.7.12.1-1
New upstream release (closes: #674078).

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    sDb.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE);
81
81
    sqlite3_mutex_enter(sDb.mutex);
82
82
  }
83
 
  n = strlen(argv[1]);
 
83
  n = (int)strlen(argv[1]);
84
84
  zFilename = sqlite3_malloc( n+2 );
85
85
  if( zFilename==0 ) return TCL_ERROR;
86
86
  memcpy(zFilename, argv[1], n+1);
465
465
  if( Tcl_GetInt(interp, argv[4], (int*)&incr) ) return TCL_ERROR;
466
466
  in = start;
467
467
  in *= mult;
468
 
  for(i=0; i<count; i++){
 
468
  for(i=0; i<(int)count; i++){
469
469
    char zErr[200];
470
470
    n1 = putVarint(zBuf, in);
471
471
    if( n1>9 || n1<1 ){