Fix type conversion long long -> long.(RhBug: 957656)