1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

More code obfuscation designed to thwart compiler warning messages. (CVS 6015)

FossilOrigin-Name: 0a1888a7e6fb56e56d8078e7792379d908ba7a70
This commit is contained in:
drh
2008-12-10 23:04:13 +00:00
parent 9c1905fb77
commit 3abbd39a87
6 changed files with 20 additions and 20 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** This file contains code used to implement the PRAGMA command.
**
** $Id: pragma.c,v 1.198 2008/12/10 22:15:00 drh Exp $
** $Id: pragma.c,v 1.199 2008/12/10 23:04:13 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -38,7 +38,7 @@ static u8 getSafetyLevel(const char *z){
static const u8 iValue[] = {1, 0, 0, 0, 1, 1, 2};
int i, n;
if( isdigit(*z) ){
return atoi(z);
return (u8)atoi(z);
}
n = sqlite3Strlen30(z);
for(i=0; i<ArraySize(iLength); i++){