]> www.ginac.de Git - ginac.git/blobdiff - ginac/add.cpp
This patch fixes a bug on machines where char is unsigned by default, by
[ginac.git] / ginac / add.cpp
index 42364c07c54f3f00d6d4a801327b08b5314ea669..eb965b6b77cd839e39b694ac1594232a680bd15d 100644 (file)
@@ -308,7 +308,7 @@ ex add::coeff(const ex & s, int n) const
 {
        std::auto_ptr<epvector> coeffseq(new epvector);
        std::auto_ptr<epvector> coeffseq_cliff(new epvector);
-       char rl = clifford_max_label(s);
+       int rl = clifford_max_label(s);
        bool do_clifford = (rl != -1);
        bool nonscalar = false;