]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- fix (harmless) typo in headtoevr function that broke ppc compilation
authorMichael Schroeder <mls@suse.de>
Wed, 8 Jun 2011 09:23:01 +0000 (11:23 +0200)
committerMichael Schroeder <mls@suse.de>
Wed, 8 Jun 2011 09:23:01 +0000 (11:23 +0200)
ext/repo_rpmdb.c

index e152a2ce13f57e7751021448cd20db5e2800d51a..1b6a29107563533e86ed3741147e860194826f07 100644 (file)
@@ -293,7 +293,7 @@ static char *headtoevr(RpmHead *h)
       fprintf(stderr, "headtoevr: bad rpm header\n");
       exit(1);
     }
-  for (v = version; *v >= 0 && *v <= '9'; v++)
+  for (v = version; *v >= '0' && *v <= '9'; v++)
     ;
   if (epoch || (v != version && *v == ':'))
     {