fix endianess...

SVN revision: 9464
This commit is contained in:
Carsten Haitzler 2004-03-25 05:40:55 +00:00
parent c62848b02f
commit ea5fbe2674
1 changed files with 2 additions and 2 deletions

View File

@ -188,8 +188,8 @@ _embryo_program_init(Embryo_Program *ep, void *code)
Embryo_Cell *code;
code_size = hdr->dat - hdr->cod;
code = ep->code + (int)hdr->code;
for (cip = 0; cip < code_size; ) embryo_swap_32(&(code[cip]));
code = ep->code + (int)hdr->cod;
for (cip = 0; cip < code_size; cip++) embryo_swap_32(&(code[cip]));
}
#endif
/* init native api for handling floating point - default in embryo */