Commit e5535c4646d46539b3754f22ba11395b48b4adec

Authored by Georg Hopp
1 parent e666aa64

fix instantiation of static zero uuid to work with new TR_INSTANCE makro

Showing 1 changed file with 5 additions and 3 deletions
... ... @@ -53,8 +53,10 @@ uuidClone(void * _this, void * _base)
53 53 TR_INIT_IFACE(TR_Class, uuidCtor, uuidDtor, uuidClone);
54 54 TR_CREATE_CLASS(TR_Uuid, NULL, TR_IF(TR_Class));
55 55
56   -TR_INSTANCE(TR_Uuid, TR_uuidZero) {
57   - .uuid.value = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
58   -}};
  56 +TR_INSTANCE(
  57 + TR_Uuid,
  58 + TR_uuidZero,
  59 + .uuid.value = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  60 +);
59 61
60 62 // vim: set ts=4 sw=4:
... ...
Please register or login to post a comment