- 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 e152a2c..1b6a291 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 == ':'))
     {