int timeout = (int)Timeout;
int timeout = (int)(long)Timeout;
static int sqliteDefaultBusyCallback( void *Timeout,           /* Maximum amount of time to wait */ const char *NotUsed,     /* The name of the table that is busy */ int count                /* Number of times table has been busy */){#if SQLITE_MIN_SLEEP_MS==1  static const char delays[] =     { 1, 2, 5, 10, 15, 20, 25, 25,  25,  50,  50,  50, 100};  static const short int totals[] =     { 0, 1, 3,  8, 18, 33, 53, 78, 103, 128, 178, 228, 287};# define NDELAY (sizeof(delays)/sizeof(delays[0]))  int timeout = (int)Timeout;  int delay, prior;  if( count <= NDELAY ){    delay = delays[count-1];    prior = totals[count-1];  }else{    delay = delays[NDELAY-1];    prior = totals[NDELAY-1] + delay*(count-NDELAY-1);  }  if( prior + delay > timeout ){    delay = timeout - prior;    if( delay<=0 ) return 0;  }  sqliteOsSleep(delay);  return 1;#else  int timeout = (int)Timeout;  if( (count+1)*1000 > timeout ){    return 0;  }  sqliteOsSleep(1000);  return 1;#endif}