Fixed warning caused by use of strlen as argument taking CC_LONG

In general you could just cast the value, but you might look over the substantive changes here and pick out what suits you. I would just like you to cast that strlen to CC_LONG if nothing else so Xcode doesn't display a warning.