Skip to content

Commit

Permalink
Merge pull request assimp#3124 from malortie/fix-sample-simpleogl-w4-…
Browse files Browse the repository at this point in the history
…compile-warnings

Fixed /W4 compile warnings in sample SimpleOpenGL.
  • Loading branch information
kimkulling authored Apr 2, 2020
2 parents 210f40e + c0273a2 commit 6b68c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/SimpleOpenGL/Sample_SimpleOpenGL.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void do_motion (void)
static int frames = 0;

int time = glutGet(GLUT_ELAPSED_TIME);
angle += (time-prev_time)*0.01;
angle += (time-prev_time)*0.01f;
prev_time = time;

frames += 1;
Expand Down

0 comments on commit 6b68c0e

Please sign in to comment.