summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse.c b/parse.c
index 9727508..d1b67b6 100644
--- a/parse.c
+++ b/parse.c
@@ -31,7 +31,7 @@ static int deftype(char *line, struct filepointer *filep,
int parse_it);
static int zero_value(char *filename, char *exp, struct filepointer *filep,
struct inclist *file_red);
-static int merge2defines(struct inclist *file1, struct inclist *file2);
+static boolean merge2defines(struct inclist *file1, struct inclist *file2);
static int
gobble(struct filepointer *filep, struct inclist *file,
@@ -260,7 +260,7 @@ fdefined(const char *symbol, struct inclist *file, struct inclist **srcfile)
symbol, file->i_file, (*val)->s_value));
if (val == NULL && file->i_list) {
struct inclist **ip;
- int i;
+ unsigned int i;
for (ip = file->i_list, i = 0; i < file->i_listlen; i++, ip++) {
if (file->i_merged[i] == FALSE) {
@@ -447,13 +447,13 @@ slookup(const char *symbol, struct inclist *file)
return (NULL);
}
-static int
+static boolean
merge2defines(struct inclist *file1, struct inclist *file2)
{
if ((file1 == NULL) || (file2 == NULL) || !(file2->i_flags & FINISHED))
return 0;
- for (int i = 0; i < file2->i_listlen; i++)
+ for (unsigned int i = 0; i < file2->i_listlen; i++)
if (file2->i_merged[i] == FALSE)
return 0;