1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-22 20:22:44 +03:00

Do not assume that 'char' is signed. Make it explicit.

FossilOrigin-Name: 979da752e6f8767a61a8efed824ffad9605d0f4c
This commit is contained in:
drh
2014-03-04 00:15:16 +00:00
parent f2c135fabd
commit a9e0aeb552
3 changed files with 8 additions and 9 deletions

View File

@@ -1593,7 +1593,7 @@ struct KeyInfo {
struct UnpackedRecord {
KeyInfo *pKeyInfo; /* Collation and sort-order information */
u16 nField; /* Number of entries in apMem[] */
char default_rc; /* Comparison result if keys are equal */
i8 default_rc; /* Comparison result if keys are equal */
Mem *aMem; /* Values */
int r1; /* Value to return if (lhs > rhs) */
int r2; /* Value to return if (rhs < lhs) */