Fixed long conversion in __process_statistics()