Fix warning: Implicit conversion loses precision: 'unsigned long' to 'CC_LONG'