Ignore:
Timestamp:
11/26/18 00:00:16 (2 years ago)
Author:
Maciej Komosinski
Message:

"%ld" replaced with "%d" because it refers to int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f1/f1_conv.cpp

    r779 r830  
    274274{
    275275        double len = min(2.0, c.length);
    276         sprintf(tmp, "p1=%ld,p2=%ld,dx=%lg,rx=%lg,ry=%lg,rz=%lg,stam=%lg,vr=%g,vg=%g,vb=%g",
     276        sprintf(tmp, "p1=%d,p2=%d,dx=%lg,rx=%lg,ry=%lg,rz=%lg,stam=%lg,vr=%g,vg=%g,vb=%g",
    277277                part1, part2, len, angle.x, angle.y, angle.z, c.stamina, c.cred, c.cgreen, c.cblue);
    278278        lastjoint_muscle_power = c.muscle_power;
Note: See TracChangeset for help on using the changeset viewer.