X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilchashtable.h;h=478ea184a6a23128f8d710c899bb26a4de2a151b;hp=690eff478f872fccb8b1b55afa2ae88b96bae0a0;hb=413da0f8686910f5e627393157566ae729ca99c4;hpb=050bd9d9e5d843220f3f393a18ab5011622237b9 diff --git a/lib/silcutil/silchashtable.h b/lib/silcutil/silchashtable.h index 690eff47..478ea184 100644 --- a/lib/silcutil/silchashtable.h +++ b/lib/silcutil/silchashtable.h @@ -89,8 +89,8 @@ typedef struct SilcHashTableListStruct SilcHashTableList; struct SilcHashTableListStruct { SilcHashTable ht; void *entry; - SilcUInt32 index; - bool auto_rehash; + unsigned int index : 31; + unsigned int auto_rehash : 1; }; /***/ @@ -138,7 +138,7 @@ typedef bool (*SilcHashCompare)(void *key1, void *key2, void *user_context); * DESCRIPTION * * A destructor callback that the library will call to destroy the - * `key' and `context'. The appliation provides the function when + * `key' and `context'. The application provides the function when * allocating a new hash table. The `user_context' is application * specific context and is delivered to the callback. *