Changeset 829


Ignore:
Timestamp:
11/25/18 23:47:54 (2 weeks ago)
Author:
Maciej Komosinski
Message:

Removed unnecessary cast, "long" is equivalent to "int" in our compilations

Location:
cpp/frams/genetics/f4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f4/f4_general.cpp

    r779 r829  
    548548                                        return 1;  // stop
    549549                                }
    550                                 int j = (int)gcur->l1;
     550                                int j = gcur->l1;
    551551                                switch ((char)gcur->i1)
    552552                                {
  • cpp/frams/genetics/f4/f4_general.h

    r774 r829  
    374374        f4_node *child2; ///<second child or NULL
    375375        int pos; ///<original position in the string
    376         int i1; ///<internal int  parameter1
    377         int l1; ///<internal long parameter1
     376        int i1; ///<internal int parameter1
     377        int l1; ///<internal long parameter1 (now also int, since long is not well specified and it is in our scenarios equivalent to int)
    378378        double f1; ///<internal double parameter1
    379379        string s1; ///<internal string parameter1
Note: See TracChangeset for help on using the changeset viewer.