- size_t typing fix (Ralf)
authorpmatilai <pmatilai>
Tue, 11 Jul 2006 06:31:13 +0000 (06:31 +0000)
committerpmatilai <pmatilai>
Tue, 11 Jul 2006 06:31:13 +0000 (06:31 +0000)
apt-pkg/rpm/rpmversion.cc

index ebe0a27..9338d41 100644 (file)
@@ -242,7 +242,7 @@ string rpmVersioningSystem::UpstreamVersion(const char *Ver)
    
    // Chop off the trailing -
    I = Ver;
-   unsigned Last = strlen(Ver);
+   size_t Last = strlen(Ver);
    for (; *I != 0; I++)
       if (*I == '-')
         Last = I - Ver;