Changeset 1287 for cpp/frams/genetics/f9


Ignore:
Timestamp:
12/06/23 03:32:18 (5 months ago)
Author:
Maciej Komosinski
Message:

size_t <-> int type casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f9/f9_conv.cpp

    r1280 r1287  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2021  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2023  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    9292int GenoConv_f90::findVertexAt(vector<XYZ_LOC> &vertices, const XYZ_LOC &vertex)
    9393{
    94         for (int i = 0; i < vertices.size(); i++)
     94        for (int i = 0; i < (int)vertices.size(); i++)
    9595                if (vertices[i].same_coordinates(vertex)) return i;
    9696        return -1;
Note: See TracChangeset for help on using the changeset viewer.