Add explicit cast to CC_LONG to quiet warning