Changed producer interface to work with long instead of int
Merge pull request #1423 from stealthcode/ProducerIntToLong

Changed producer interface to work with long instead of int