ret is CK_RV, which is unsigned.

So don't try to see if it is negative, 'cause it isn't.