Explicit use signed char for included font data to enable cross-compile for an arm-based system
From ISO/IEC 9899:1999, 6.2.5.15 (p. 49): The implementation shall define char to have the same range, representation, and behavior as either signed char or unsigned char. Signed-off-by: Thomas Knepper <thknepper@gmx.de>
This commit is contained in:
parent
09854baccf
commit
6f44f12faf
@ -338,7 +338,7 @@ const Font& Font::GetDefaultFont()
|
||||
// Load the default font on first call
|
||||
if (!loaded)
|
||||
{
|
||||
static const char data[] =
|
||||
static const signed char data[] =
|
||||
{
|
||||
#include <SFML/Graphics/Arial.hpp>
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user