- made nops() return unsigned instead of int
[ginac.git] / ginac / function.pl
index 250bf767e13d4d518bb8e1f9b3dbd7db08b06ae8..f08990d9fdd47b636a54835632a003943a1282c1 100755 (executable)
@@ -519,7 +519,7 @@ void function::printtree(ostream & os, unsigned indent) const
        << ", hash=" << hashvalue << " (0x" << hex << hashvalue << dec << ")"
        << ", flags=" << flags
        << ", nops=" << nops() << endl;
-    for (int i=0; i<nops(); ++i) {
+    for (unsigned i=0; i<nops(); ++i) {
         seq[i].printtree(os,indent+delta_indent);
     }
     os << string(indent+delta_indent,' ') << "=====" << endl;