Changeset 951 for trunk


Ignore:
Timestamp:
Feb 25, 2015, 11:09:16 AM (10 years ago)
Author:
porquet
Message:

tsar_generic_leti: fix compilation warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_leti/top.cpp

    r939 r951  
    12581258    }
    12591259    // Free memory
    1260     for (size_t i = 0 ; i  < (X_SIZE * Y_SIZE) ; i++)
    1261     {
    1262         size_t x = i / (Y_SIZE);
    1263         size_t y = i % (Y_SIZE);
     1260    for (size_t i = 0 ; i  < (XMAX * YMAX) ; i++)
     1261    {
     1262        size_t x = i / (YMAX);
     1263        size_t y = i % (YMAX);
    12641264        delete clusters[x][y];
    12651265    }
Note: See TracChangeset for help on using the changeset viewer.