mirror of
https://github.com/sqlite/sqlite.git
synced 2025-10-24 09:53:10 +03:00
Address some minor 32/64 bit issues. (CVS 1932)
FossilOrigin-Name: 6c9be972c1c289b657ba87db8db08fceb89b0171
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
|
||||
** All other code has file scope.
|
||||
**
|
||||
** $Id: func.c,v 1.81 2004/08/31 00:52:37 drh Exp $
|
||||
** $Id: func.c,v 1.82 2004/09/02 15:53:57 drh Exp $
|
||||
*/
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
@@ -44,7 +44,7 @@ static void minmaxFunc(
|
||||
CollSeq *pColl;
|
||||
|
||||
if( argc==0 ) return;
|
||||
mask = (int)sqlite3_user_data(context);
|
||||
mask = sqlite3_user_data(context)==0 ? 0 : -1;
|
||||
pColl = sqlite3GetFuncCollSeq(context);
|
||||
assert( pColl );
|
||||
assert( mask==-1 || mask==0 );
|
||||
|
||||
Reference in New Issue
Block a user