aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2021-08-06 15:26:01 +0000
committerdrh <>2021-08-06 15:26:01 +0000
commit15482bc3f3a2c98a4e391865194fbab46eb4e3cf (patch)
tree5af417f0aedf9a446a18879dcc0c718935c6ecaf /src
parent65b400931ddbaaa2059094a014ecf46c0840857c (diff)
downloadsqlite-15482bc3f3a2c98a4e391865194fbab46eb4e3cf.tar.gz
sqlite-15482bc3f3a2c98a4e391865194fbab46eb4e3cf.zip
Fix harmless compiler warnings. Omit redundant copies of os_common.h and
hwtime.h from the amalgamation. FossilOrigin-Name: 091427007818537bb2f860c42dad867cb19050899186d4d180d195a1c6a98798
Diffstat (limited to 'src')
-rw-r--r--src/sqliteInt.h16
-rw-r--r--src/util.c2
2 files changed, 9 insertions, 9 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 9f4d21175..eee58d00e 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2038,14 +2038,14 @@ struct Module {
** set.
*/
struct Column {
- char *zCnName; /* Name of this column */
- u8 notNull : 4; /* An OE_ code for handling a NOT NULL constraint */
- u8 eType : 4; /* One of the standard types */
- char affinity; /* One of the SQLITE_AFF_... values */
- u8 szEst; /* Estimated size of value in this column. sizeof(INT)==1 */
- u8 hName; /* Column name hash for faster lookup */
- u16 iDflt; /* 1-based index of DEFAULT. 0 means "none" */
- u16 colFlags; /* Boolean properties. See COLFLAG_ defines below */
+ char *zCnName; /* Name of this column */
+ unsigned notNull :4; /* An OE_ code for handling a NOT NULL constraint */
+ unsigned eType :4; /* One of the standard types */
+ char affinity; /* One of the SQLITE_AFF_... values */
+ u8 szEst; /* Est size of value in this column. sizeof(INT)==1 */
+ u8 hName; /* Column name hash for faster lookup */
+ u16 iDflt; /* 1-based index of DEFAULT. 0 means "none" */
+ u16 colFlags; /* Boolean properties. See COLFLAG_ defines below */
};
/* Allowed values for Column.eType.
diff --git a/src/util.c b/src/util.c
index 08c2949b1..fc838023c 100644
--- a/src/util.c
+++ b/src/util.c
@@ -284,7 +284,7 @@ void sqlite3DequoteExpr(Expr *p){
** is always a no-op.
*/
void sqlite3DequoteToken(Token *p){
- int i;
+ unsigned int i;
if( p->n<2 ) return;
if( !sqlite3Isquote(p->z[0]) ) return;
for(i=1; i<p->n-1; i++){