From 8a5790ed5ced73ed81527df33825d74072512857 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Tue, 20 Oct 2015 20:14:36 +0200 Subject: [PATCH] Fix TR_INSTANCE initialization --- src/remote_data.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/remote_data.c b/src/remote_data.c index 2ef2bf8..d1e28b2 100644 --- a/src/remote_data.c +++ b/src/remote_data.c @@ -58,6 +58,8 @@ remoteDataDtor(void * _this) { TR_INIT_IFACE(TR_Class, remoteDataCtor, remoteDataDtor, NULL); TR_CREATE_CLASS(TR_RemoteData, TR_SizedData, NULL, TR_IF(TR_Class)); -TR_INSTANCE(TR_RemoteData, TR_emptyRemoteData, { NULL, 0 }, NULL); +TR_INSTANCE( + TR_RemoteData, TR_emptyRemoteData, + .remote = NULL, .free_remote = 0 ); // vim: set ts=4 sw=4: