Source: tome Version: 2.4~0.git.2015.12.29-1.1 Severity: important Tags: patch
Hi, tome FTBFS on 32-bit architectures since a function definition does not match its prototype, resulting in a missing symbol at link time. void f(int) and void f(long) are different signatures even if sizeof(int) == sizeof(long). Also the override_dh_auto_build target in debian rules misses a call to dh_auto_build (causing the actual build to be performed during the install step). Andreas
Author: Andreas Beckmann <[email protected]> Description: the function definition must match the prototype --- a/src/z-rand.cc +++ b/src/z-rand.cc @@ -351,7 +351,7 @@ s32b maxroll(s16b num, s16b sides) return (num * sides); } -bool magik(int p) { +bool magik(s32b p) { return rand_int(100) < p; }

