Skip to content

Commit a468483

Browse files
author
Vinit Kumar
authored
Merge pull request #5 from vinitkumar/feature/chatbot
fix typecast warning
2 parents 96cc62f + f9a7f4d commit a468483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chatbot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ hashtable_t *ht_create( int size ) {
5454
int ht_hash( hashtable_t *hashtable, char *key ) {
5555

5656
unsigned long int hashval = 0;
57-
int i = 0;
57+
unsigned long i = 0;
5858

5959
/* Convert our string to an integer */
6060
while( hashval < ULONG_MAX && i < strlen( key ) ) {

0 commit comments

Comments
 (0)