kgb_arch_posix fails to build under amd64, alpha and ia64 because of the mentioned error. Here' the build log:
g++ kgb_arch_posix_by_slawek.cpp -o kgb
kgb_arch_posix_by_slawek.cpp: In constructor 'Hashtable<T>::Hashtable(U32) [with T = Counter]':
kgb_arch_posix_by_slawek.cpp:1360: instantiated from here
kgb_arch_posix_by_slawek.cpp:1125: error: cast from 'char*' to 'int' loses precision
The error is the same one under the three different architectures.