Changeset 478 for cpp/frams/param/paramobj.cpp
- Timestamp:
- 03/22/16 01:19:47 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/param/paramobj.cpp
r396 r478 41 41 if (addnew) count++; 42 42 t = tab = (ParamEntry*)malloc(sizeof(ParamEntry)*(count + gcount + 1)); 43 t->group = ( short)gcount;44 t->flags = ( short)count;43 t->group = (paInt)gcount; 44 t->flags = (paInt)count; 45 45 t->name = maybedup(dupentries, rename ? rename : pi->getName()); 46 46 t->type = maybedup(dupentries, pi->getDescription()); … … 82 82 offset += sizeof(ExtValue); 83 83 } 84 t->group = ( short)(stripgroups ? 0 : pi->group(i));85 t->flags = ( short)pi->flags(i);84 t->group = (paInt)(stripgroups ? 0 : pi->group(i)); 85 t->flags = (paInt)pi->flags(i); 86 86 if (readonly_into_userreadonly && (t->flags & PARAM_READONLY)) 87 87 t->flags=(t->flags & ~PARAM_READONLY) | PARAM_USERREADONLY;
Note: See TracChangeset
for help on using the changeset viewer.