Removing the remaining compiler warnings from the cursor code, thanks to Antonio...