Fixes issue #46: use int explicitly
Merge pull request #48 from asadoughi/subnet_ip_fix

Fixes issue #46: use int explicitly