Fixed some warnings

Because class_copyMethodList returns an unsigned int.