X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Ffunctions.cpp;h=613a021b069b1147e88a95a79324767ead73b077;hp=567fb715a507a6e4e0b2c3a7547fc05490b68ba1;hb=cc05f3d8a5100af6415f9520813e3326f7ffd69f;hpb=bd64a436427ec210c909afa372fcbb4af87edaf3 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,