Commit 9e46c3f
Fix to error at comparing signed and unsigned integers (#97)
In animation_tests.cpp Frame.index (which is signed integer) is
compared with integer literals with 'u' at the end, making them unsigned
integers. GCC6.x treats such comparison as error (at least with flags
set in CMakeLists.txt). This patch just removes 'u' from literals,
allowing the build to pass with GCC6.1 parent 25a8914 commit 9e46c3f
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
0 commit comments