-MY_CFLAGS=-Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Wno-sign-compare
+MY_CFLAGS=-Wall -Wextra -Wmissing-prototypes
MY_LDFLAGS=-lreadline -lm
PROGRAMS=mnemon
item_match_predicate_t *predicate,
void *closure)
{
- int i, num_items = 0;
+ unsigned int i, num_items = 0;
if (predicate == NULL)
return bin->num_items;
const char *category_name,
int length)
{
- int i, last_score, max;
+ unsigned int i, max;
+ int last_score;
category_t *category = NULL;
bin_t *bin;
- int num_items;
+ unsigned int num_items;
item_match_predicate_t *predicate = NULL;
void *closure = NULL;
item_in_category_closure_t item_in_category;
item_t *item;
category_t *category;
char *response;
- int i;
+ unsigned int i;
/* Count the number of items with negative scores. */
progress->unlearned = 0;