Changeset 319 for cpp/frams/genetics/fT


Ignore:
Timestamp:
02/01/15 01:08:50 (10 years ago)
Author:
Maciej Komosinski
Message:

Fixed compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fT/oper_fTest.cpp

    r286 r319  
    6565        if (!gene[0]) return 1; //empty is not valid
    6666        bool ok = true;
    67         int i;
     67        size_t i;
    6868        for (i = 0; i < strlen(gene); i++) if (!strchr("ATGC", gene[i])) { ok = false; break; }
    6969        return ok ? GENOPER_OK : i + 1;
     
    7474{
    7575        SString validated; //new genotype (everything except ATGC is skipped)
    76         for (int i = 0; i < strlen(gene); i++)
     76        for (size_t i = 0; i < strlen(gene); i++)
    7777                if (strchr("ATGC", gene[i])) validated += gene[i];  //validated contains only ATGC
    7878        free(gene);
Note: See TracChangeset for help on using the changeset viewer.