forked from enlightenment/efl
A string is a char* and the data from ipc is unsigned char*. This cast
removes a lot of compiler warnings. SVN revision: 14729
This commit is contained in:
parent
ed9d00eaf5
commit
5321d3758e
|
@ -116,13 +116,13 @@ extern "C" {
|
|||
{ \
|
||||
if (ptr < ((unsigned char *)d + s)) \
|
||||
{ \
|
||||
p->v = ptr; \
|
||||
p->v = (char *)ptr; \
|
||||
ptr += strlen(p->v) + 1; \
|
||||
} \
|
||||
}
|
||||
#define ECORE_IPC_PUTS(v, l)\
|
||||
{ \
|
||||
strcpy(ptr, p->v); \
|
||||
strcpy((char *)ptr, p->v); \
|
||||
ptr += l + 1; \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue