core: don't use c99 style initialization

fixes #1602
This commit is contained in:
Bernhard Miklautz 2013-11-18 20:29:00 +01:00
parent 0ddf2922f9
commit 261651b43b
2 changed files with 2 additions and 2 deletions

View File

@ -494,7 +494,7 @@ static void input_free_queued_message(void *obj)
rdpInput* input_new(rdpRdp* rdp)
{
const wObject cb = { .fnObjectFree = input_free_queued_message };
const wObject cb = { NULL, NULL, NULL, input_free_queued_message , NULL };
rdpInput* input;
input = (rdpInput*) malloc(sizeof(rdpInput));

View File

@ -1553,7 +1553,7 @@ static void update_free_queued_message(void *obj)
rdpUpdate* update_new(rdpRdp* rdp)
{
const wObject cb = { .fnObjectFree = update_free_queued_message };
const wObject cb = { NULL, NULL, NULL, update_free_queued_message, NULL };
rdpUpdate* update;
update = (rdpUpdate*) malloc(sizeof(rdpUpdate));