1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: indicating we use signed char, so that we don't depend on the
default choice of the implementation
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/ugeneunipro/ugene/issues/1682
Last-Update: 2024-10-04
--- a/src/plugins_3rdparty/ball/src/include/BALL/DATATYPE/hashGrid.h
+++ b/src/plugins_3rdparty/ball/src/include/BALL/DATATYPE/hashGrid.h
@@ -37,7 +37,7 @@
{
namespace __private
{
- extern const char BALL_EXPORT neighbour_table_[27][3];
+ extern const signed char BALL_EXPORT neighbour_table_[27][3];
}
template <typename Item> class HashGrid3;
--- a/src/plugins_3rdparty/ball/src/source/DATATYPE/hashGrid.cpp
+++ b/src/plugins_3rdparty/ball/src/source/DATATYPE/hashGrid.cpp
@@ -9,7 +9,7 @@
{
namespace __private
{
- const char neighbour_table_[27][3] =
+ const signed char neighbour_table_[27][3] =
{
{ 0, 0, 0 }, { 0, 0, -1 }, { 0, 0, 1 },
{ 0, -1, -1 }, { 0, -1, 0 }, { 0, -1, 1 },
|