26 Sep
2008
26 Sep
'08
11:17 a.m.
2008/9/25 Rob Shearman <robertshearman(a)gmail.com>:
Using a signed constant for an unsigned value isn't good practice. I'd recommend defining a constant at the top of the file like so: #define SCHANNEL_INVALID_HANDLE ~0UL
And then using that everywhere that you use -1 now.
You're right on these, of course. Thanks for reviewing.