diff --git a/newlib/doc/makedoc.c b/newlib/doc/makedoc.c index 3f4ff4c06..3faad96a2 100644 --- a/newlib/doc/makedoc.c +++ b/newlib/doc/makedoc.c @@ -1287,13 +1287,13 @@ DEFUN(compile, (string), /* Got a number, embedd the magic push number function */ add_to_definition(ptr, push_number); - add_to_definition(ptr, atol(word)); + add_to_definition(ptr, (stinst_type)atol(word)); break; default: add_to_definition(ptr, call); lookup = lookup_word(word); if (!lookup) ret++; - add_to_definition(ptr, lookup); + add_to_definition(ptr, (stinst_type)lookup); } string = nextword(string, &word);