diff options
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util/u_linkage.c')
-rw-r--r-- | mesalib/src/gallium/auxiliary/util/u_linkage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/gallium/auxiliary/util/u_linkage.c b/mesalib/src/gallium/auxiliary/util/u_linkage.c index 2f6f41ba8..245d941dc 100644 --- a/mesalib/src/gallium/auxiliary/util/u_linkage.c +++ b/mesalib/src/gallium/auxiliary/util/u_linkage.c @@ -130,12 +130,12 @@ util_semantic_layout_from_set(unsigned char *layout, const struct util_semantic_ last = i; } - if(last < efficient_slots) + if (last < (int) efficient_slots) { UTIL_SEMANTIC_SET_FOR_EACH(i, set) layout[i] = i; } - else if((last - first) < efficient_slots) + else if ((last - first) < (int) efficient_slots) { UTIL_SEMANTIC_SET_FOR_EACH(i, set) layout[i - first] = i; |