keep gcc happy;

This commit is contained in:
Alexander Vdolainen 2015-07-25 03:28:30 +03:00
parent 617e170087
commit d13af92d0d

View File

@ -101,7 +101,7 @@ static void *__addsthrd(void *a)
break;
case SNE_REPLYREQ:
if(sxmsg_datalen(msg)) fprintf(stdout, "Replied (confirmation required): %s\n",
sxmsg_payload(msg));
(char *)sxmsg_payload(msg));
mr = sxmsg_return(msg, SNE_SUCCESS);
fprintf(stderr, "mr = %d\n", mr);
break;
@ -244,7 +244,7 @@ int main(int argc, char **argv)
break;
case SNE_REPLYREQ:
if(sxmsg_datalen(msg)) fprintf(stdout, "Replied (confirmation required): %s\n",
sxmsg_payload(msg));
(char *)sxmsg_payload(msg));
mr = sxmsg_return(msg, SNE_SUCCESS);
fprintf(stderr, "mr = %d\n", mr);
break;