Ignore:
Timestamp:
03/22/16 01:19:47 (8 years ago)
Author:
Maciej Komosinski
Message:

Accessing const objects, short -> paInt, less critical messages when not necessary, accessing dictionaries with "->"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/paramtabobj.cpp

    r286 r478  
    2525memmove(tab+siz-count,p,sizeof(ParamEntry)*count);
    2626memset(tab+siz,0,sizeof(ParamEntry));
    27 if (siz>0) tab[0].flags=(short)(siz-tab[0].group);
     27if (siz>0) tab[0].flags=(paInt)(siz-tab[0].group);
    2828return siz-1;
    2929}
     
    3434resize(siz-count);
    3535memset(tab+siz,0,sizeof(ParamEntry));
    36 if (siz>0) tab[0].flags=(short)(siz-tab[0].group);
     36if (siz>0) tab[0].flags=(paInt)(siz-tab[0].group);
    3737}
    3838
Note: See TracChangeset for help on using the changeset viewer.