src: request param as unsigned long

So it works with BSD distributions. See #2