Przeglądaj źródła

apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) and avoiding a implicit cast this way

Michael Vogt 15 lat temu
rodzic
commit
64767f1459
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      apt-pkg/contrib/md5.cc

+ 1 - 1
apt-pkg/contrib/md5.cc

@@ -298,7 +298,7 @@ MD5SumValue MD5Summation::Result()
    }
    
    MD5SumValue V;
-   V.Set((char *)buf);
+   V.Set((unsigned char *)buf);
    return V;
 }
 									/*}}}*/