Cleanup up some integer types.

This fixes a couple of warnings in clang and makes things more consistent.

Reviewed-by: Benoit Girard <b56girard@gmail.com>
Mozilla-bug: 700773
diff --git a/iccread.c b/iccread.c
index ff0572f..5bd12a2 100644
--- a/iccread.c
+++ b/iccread.c
@@ -402,11 +402,11 @@
 // present that are not part of the tag_index.
 static struct curveType *read_curveType(struct mem_source *src, uint32_t offset, uint32_t *len)
 {
-	static const size_t COUNT_TO_LENGTH[5] = {1, 3, 4, 5, 7};
+	static const uint32_t COUNT_TO_LENGTH[5] = {1, 3, 4, 5, 7};
 	struct curveType *curve = NULL;
 	uint32_t type = read_u32(src, offset);
 	uint32_t count;
-	int i;
+	uint32_t i;
 
 	if (type != CURVE_TYPE && type != PARAMETRIC_CURVE_TYPE) {
 		invalid_source(src, "unexpected type, expected CURV or PARA");