Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
prefer unsigned int to int
Eitan committed 15 years ago
commit 67cf1c7bad7a9033de6e6bd20173d05081c4ed16
parent 401a004
1 file changed +1 -1
modified libpkg/pkg_version.c
@@ -151,7 +151,7 @@ get_component(const char *position, version_component *component)
		haspatchlevel = 1;
		/* handle special suffixes */
		if (isalpha(pos[1])) {
-
			int i;
+
			unsigned int i;
			for (i = 0; stage[i].name; i++) {
				if (strncasecmp(pos, stage[i].name, stage[i].namelen) == 0
						&& !isalpha(pos[stage[i].namelen])) {