We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 96cc62f + f9a7f4d commit a468483Copy full SHA for a468483
src/chatbot.c
@@ -54,7 +54,7 @@ hashtable_t *ht_create( int size ) {
54
int ht_hash( hashtable_t *hashtable, char *key ) {
55
56
unsigned long int hashval = 0;
57
- int i = 0;
+ unsigned long i = 0;
58
59
/* Convert our string to an integer */
60
while( hashval < ULONG_MAX && i < strlen( key ) ) {
0 commit comments