Commit e1d2900e authored by Peter W. Draper's avatar Peter W. Draper
Browse files

GCC doesn't like signed/unsigned comparisons

parent f034a28e
...@@ -238,7 +238,7 @@ void test_interactions(struct part test_part, struct part *parts, size_t count, ...@@ -238,7 +238,7 @@ void test_interactions(struct part test_part, struct part *parts, size_t count,
float dx[3 * count] __attribute__((aligned(array_align))); float dx[3 * count] __attribute__((aligned(array_align)));
struct part *piq[count], *pjq[count]; struct part *piq[count], *pjq[count];
for (int k = 0; k < count; k++) { for (size_t k = 0; k < count; k++) {
piq[k] = NULL; pjq[k] = NULL; piq[k] = NULL; pjq[k] = NULL;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment