X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fcore%2Ffunctions.cpp;h=613a021b069b1147e88a95a79324767ead73b077;hb=0e992a5c0f14d91268d00304d90c7073499ff54e;hp=567fb715a507a6e4e0b2c3a7547fc05490b68ba1;hpb=7ee10b64f4c116460ffef5784eb9ef87d3f2339c;p=anna.git diff --git a/source/core/functions.cpp b/source/core/functions.cpp index 567fb71..613a021 100644 --- a/source/core/functions.cpp +++ b/source/core/functions.cpp @@ -384,7 +384,7 @@ throw(RuntimeException) { */ int functions::log2(const unsigned int v) throw() { - static const char LogTable256[] = { + static const signed char LogTable256[] = { -1, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,