One more place where it fails and needs to be fixed: snmptrapsource.cc: Line280 - int which = reinterpret_cast<int>(thunk); + long which = reinterpret_cast<long>(thunk);