* Replace sqlite_int64 with int64_t in many places, to better allow for the possibility of other databases. (Thanks Douglas Carmichael)

This commit is contained in:
Justin Maggard
2012-06-29 23:14:27 +00:00
parent 2c7a3bfc06
commit 61fbce18ba
19 changed files with 151 additions and 138 deletions

View File

@ -26,12 +26,12 @@
/* This function based on byRequest */
char *
decodeString(char * string, int inplace)
decodeString(char *string, int inplace)
{
if( !string )
return NULL;
int alloc = (int)strlen(string)+1;
char * ns = NULL;
char *ns = NULL;
unsigned char in;
int strindex=0;
long hex;
@ -132,7 +132,7 @@ seedRandomness(int n, void *pbuf, uint32_t seed)
void
TiVoRandomSeedFunc(sqlite3_context *context, int argc, sqlite3_value **argv)
{
sqlite_int64 r, seed;
int64_t r, seed;
if( argc != 1 || sqlite3_value_type(argv[0]) != SQLITE_INTEGER )
return;