]> git.sesse.net Git - freerainbowtables/commitdiff
remove (int) cast that was unnecessary and incorrect
authorJames Nobis <quel@quelrod.net>
Wed, 10 Nov 2010 01:20:34 +0000 (19:20 -0600)
committerJames Nobis <quel@quelrod.net>
Wed, 10 Nov 2010 01:20:34 +0000 (19:20 -0600)
BOINC software/BOINC client apps/distrrtgen/distrrtgen.cpp

index 69621d2cecc8d496df5e86ade1a42fe976225b19..8245a6bb25cb49a514fe718a68053a5fdd88f3db 100644 (file)
@@ -224,7 +224,7 @@ int main(int argc, char **argv) {
        
        // Round to boundary
        nDataLen = nDataLen / 10 * 10;
-       if ((int)nDataLen == nRainbowChainCount * 10)
+       if (nDataLen == nRainbowChainCount * 10)
        {               
                std::cerr << "precomputation of this rainbow table already finished" << std::endl;
                fclose(outfile);