Commit 8a5790ed5ced73ed81527df33825d74072512857

Authored by Georg Hopp
1 parent 2fa809e1

Fix TR_INSTANCE initialization

Showing 1 changed file with 3 additions and 1 deletions
@@ -58,6 +58,8 @@ remoteDataDtor(void * _this) { @@ -58,6 +58,8 @@ remoteDataDtor(void * _this) {
58 TR_INIT_IFACE(TR_Class, remoteDataCtor, remoteDataDtor, NULL); 58 TR_INIT_IFACE(TR_Class, remoteDataCtor, remoteDataDtor, NULL);
59 TR_CREATE_CLASS(TR_RemoteData, TR_SizedData, NULL, TR_IF(TR_Class)); 59 TR_CREATE_CLASS(TR_RemoteData, TR_SizedData, NULL, TR_IF(TR_Class));
60 60
61 -TR_INSTANCE(TR_RemoteData, TR_emptyRemoteData, { NULL, 0 }, NULL); 61 +TR_INSTANCE(
  62 + TR_RemoteData, TR_emptyRemoteData,
  63 + .remote = NULL, .free_remote = 0 );
62 64
63 // vim: set ts=4 sw=4: 65 // vim: set ts=4 sw=4:
Please register or login to post a comment