fix some compiler warnings.

This commit is contained in:
Ben Gras
2007-04-02 15:10:07 +00:00
parent 647d1496f3
commit 85198a280c
3 changed files with 5 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ struct mem_map *map_ptr;
m.PR_ENDPT = parent;
m.PR_SLOT = child;
m.PR_MEM_PTR = map_ptr;
m.PR_MEM_PTR = (char *) map_ptr;
r = _taskcall(SYSTASK, SYS_FORK, &m);
*child_endpoint = m.PR_ENDPT;
return r;

View File

@@ -9,7 +9,7 @@ PUBLIC int sys_vsafecopy(struct vscp_vec *vec, int els)
message copy_mess;
copy_mess.VSCP_VEC_ADDR = vec;
copy_mess.VSCP_VEC_ADDR = (char *) vec;
copy_mess.VSCP_VEC_SIZE = els;
return(_taskcall(SYSTASK, SYS_VSAFECOPY, &copy_mess));