Remove int casting 

removed int casting , regarding to issue with windows+php integer size