diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/animated.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/animated.cxx b/test/animated.cxx index 71479977a..cd5172885 100644 --- a/test/animated.cxx +++ b/test/animated.cxx @@ -87,7 +87,7 @@ static void make_images() { // A moving blob const float pos = (i / (float) FRAMES) * 2 - 0.5f; - const int xoffset = int(pos * DIM); + const int xoffset = int(pos * (int)DIM); const int yoffset = 2 * DIM / 3; const int w = DIM / 4; |
