From 8c1cfa7f2ebe4422ff32a1a6a1d4429494889400 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Sun, 16 Apr 2017 23:38:33 +0200 Subject: [PATCH] Fix FTBFS on architectures where char is unsigned Based on a patch by John Paul Adrian Glaubitz from Debian: https://anonscm.debian.org/cgit/collab-maint/tennix.git/tree/debian/patches/fix_signage_FTBFS.patch --- src/game.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.h b/src/game.h index 536672a..c8d9e00 100644 --- a/src/game.h +++ b/src/game.h @@ -94,7 +94,7 @@ typedef struct { float move_y; float move_z; bool ground_hit; - char last_hit_by; + signed char last_hit_by; bool inhibit_gravity; } Ball; @@ -107,7 +107,7 @@ enum PlayerDesire { typedef struct { InputDevice* input; - char input_device_index; + signed char input_device_index; float x; float y; float power; -- 2.11.4.GIT