[libgda/wip/lantw/fix-bdb-and-sqlite-builds: 1/2] Replace 'uint' with 'unsigned int'



commit 4503eeb359d935d57ecbaab3f2eed3e78d9148b1
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sat Sep 22 14:34:49 2018 +0800

    Replace 'uint' with 'unsigned int'
    
    There is no 'uint' type defined on FreeBSD.

 libgda/sqlite/mkkeywordhash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/sqlite/mkkeywordhash.c b/libgda/sqlite/mkkeywordhash.c
index 9ff61259e..9dcaa3fee 100644
--- a/libgda/sqlite/mkkeywordhash.c
+++ b/libgda/sqlite/mkkeywordhash.c
@@ -261,7 +261,7 @@ main (int argc, char **argv)
        for(i=0; i<nKeyword; i++){
                Keyword *p = &aKeywordTable[i];
                p->len = strlen(p->zName);
-               assert( (uint) p->len < sizeof(p->zOrigName) );
+               assert( (unsigned int) p->len < sizeof(p->zOrigName) );
                strcpy(p->zOrigName, p->zName);
                totalLen += p->len;
                p->hash = (UpperToLower[(int)p->zName[0]]*4) ^


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]