deepfryed / beanstalk-client

C/C++ beanstalk client
59 stars 44 forks source link

Change ids to be int64_t and fix type conversion warnings #12

Closed swehner closed 11 years ago

swehner commented 11 years ago

Job ids can be bigger than a 32 bit int which is supported in this change. Delay, Priority and TTR have been changed to unsigned ints. I've also changed some places where a size_t was returned instead of an ssize_t swallowing errors. I know this is a major API change but for us supporting job swith a higher id is a must. Let me know if you think it's worthwhile to include this change in the client library! Cheers,

deepfryed commented 11 years ago

I think this is going in the right direction :)

Thanks!