--- gforth/prim 2008/07/27 09:58:29 1.231 +++ gforth/prim 2008/08/09 14:17:51 1.233 @@ -1674,7 +1674,7 @@ supported on your machine (take a look a your machine has a separate instruction cache. In such cases, @code{flush-icache} does nothing instead of flushing the instruction cache."" -FLUSH_ICACHE(c_addr,u); +FLUSH_ICACHE((caddr_t)c_addr,u); (bye) ( n -- ) gforth paren_bye SUPER_END; @@ -2460,8 +2460,8 @@ l! ( w c_addr -- ) gforth l_store lib-error ( -- c_addr u ) gforth lib_error ""Error message for last failed @code{open-lib} or @code{lib-sym}."" -c_addr = lt_dlerror(); -u = (c_addr == NULL) ? 0 : strlen(c_addr); +c_addr = (Char *)lt_dlerror(); +u = (c_addr == NULL) ? 0 : strlen((char *)c_addr); \+ \g peephole