Workaround a compiler warning
This commit is contained in:
1 parent
2cf5bff32d
commit
826ecf76c0
1 file changed
+1
-1
@@ -173,7 +173,7 @@ static void test_stack(void)
|
|||||||
for(unsigned int i = 0; i < 100; i++) {
|
for(unsigned int i = 0; i < 100; i++) {
|
||||||
float j;
|
float j;
|
||||||
buffer_floats_pop(&j, buff);
|
buffer_floats_pop(&j, buff);
|
||||||
assert(j == 99-i);
|
assert(j == (float) (99-i) );
|
||||||
assert (buffer_floats_full_p(buff) == false);
|
assert (buffer_floats_full_p(buff) == false);
|
||||||
}
|
}
|
||||||
assert (buffer_floats_empty_p(buff) == true);
|
assert (buffer_floats_empty_p(buff) == true);
|
||||||
|
|||||||
Reference in new issue
Block a user