Hi,
Abuse has a bad management of types, uses int, enum, int32_t and long
interchangeably. The attached patch fixes this bug, as it fixes an inconsistent
declaration. But abuse is doomed to have more bugs as it has a badly designed
implementation.
The real solution would be to review every numeric variable / field and check
that it's consistent with the other uses of the variable. This is, of course,
a lot of work and it's outside the scope of this bug.
--
GNU/Linux es un sistema operativo amigable, solo selecciona a sus amigos.
Saludos /\/\ /\ >< `/
diff -u abuse-sdl-0.7.0/debian/changelog abuse-sdl-0.7.0/debian/changelog
--- abuse-sdl-0.7.0/debian/changelog
+++ abuse-sdl-0.7.0/debian/changelog
@@ -1,3 +1,10 @@
+abuse-sdl (1:0.7.0-3.1) unstable; urgency=low
+
+ * src/include/compiled.hpp:
+ + Fix "int32_t" vs "long" problem (Closes: #352834).
+
+ -- Maximiliano Curia <[EMAIL PROTECTED]> Sat, 15 Apr 2006 14:07:44 -0300
+
abuse-sdl (1:0.7.0-3) unstable; urgency=low
* debian/menu:
diff -u abuse-sdl-0.7.0/src/include/compiled.hpp
abuse-sdl-0.7.0/src/include/compiled.hpp
--- abuse-sdl-0.7.0/src/include/compiled.hpp
+++ abuse-sdl-0.7.0/src/include/compiled.hpp
@@ -1,7 +1,7 @@
#ifndef __COMPILED_HPP_
#define __COMPILED_HPP_
#include "macs.hpp"
-extern long S_fall_start,S_falling,S_landing,S_pounce_wait,
+extern int32_t S_fall_start,S_falling,S_landing,S_pounce_wait,
S_turn_around,S_fire_wait,S_ceil_fire,S_top_walk,
S_blown_back_dead,S_jump_up,S_hiding,S_weapon_fire,
S_hanging,S_blocking,S_rotate,S_climbing,S_climb_off,