From 6f44f12fafa5b708a10039f6a4777eb8fae719df Mon Sep 17 00:00:00 2001 From: Thomas Knepper Date: Tue, 29 Nov 2011 21:57:36 +0100 Subject: [PATCH] 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 --- src/SFML/Graphics/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/Font.cpp b/src/SFML/Graphics/Font.cpp index b16e254e..8a7f64ca 100644 --- a/src/SFML/Graphics/Font.cpp +++ b/src/SFML/Graphics/Font.cpp @@ -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 };