/in/database.c: In function 'UPDATE':
/in/database.c:256:58: warning: passing argument 6 of 'HELP_update' makes pointer from integer without a cast [-Wint-conversion]
HELP_update(db, i, ii, value, field, num_updated);
^~~~~~~~~~~
/in/database.c:60:6: note: expected 'int *' but argument is of type 'int'
void HELP_update(Database *db, int i, int ii, char* value, char* field, int *num_updated)//the data updating part of assignments
^~~~~~~~~~~
/in/database.c:263:58: warning: passing argument 6 of 'HELP_update' makes pointer from integer without a cast [-Wint-conversion]
HELP_update(db, i, ii, value, field, num_updated);
^~~~~~~~~~~
/in/database.c:60:6: note: expected 'int *' but argument is of type 'int'
void HELP_update(Database *db, int i, int ii, char* value, char* field, int *num_updated)//the data updating part of assignments
^~~~~~~~~~~
/in/database.c:273:58: warning: passing argument 6 of 'HELP_update' makes pointer from integer without a cast [-Wint-conversion]
HELP_update(db, i, ii, value, field, num_updated);
^~~~~~~~~~~
/in/database.c:60:6: note: expected 'int *' but argument is of type 'int'
void HELP_update(Database *db, int i, int ii, char* value, char* field, int *num_updated)//the data updating part of assignments
^~~~~~~~~~~
/in/database.c:278:54: warning: passing argument 6 of 'HELP_update' makes pointer from integer without a cast [-Wint-conversion]
HELP_update(db, i, ii, value, field, num_updated);
^~~~~~~~~~~
/in/database.c:60:6: note: expected 'int *' but argument is of type 'int'
void HELP_update(Database *db, int i, int ii, char* value, char* field, int *num_updated)//the data updating part of assignments
^~~~~~~~~~~
/in/database.c:230:19: warning: unused variable 'difficulty' [-Wunused-variable]
int deadline, difficulty, num_updated = 0;
^~~~~~~~~~
/in/database.c:230:9: warning: unused variable 'deadline' [-Wunused-variable]
int deadline, difficulty, num_updated = 0;
^~~~~~~~