如何使用打印int*
(int指针)和unsigned int*
日志NSLog
?
- (int) doSomethingWith:(unsigned int)Msg withWparam:(unsigned int*)wParam withParameter:(int *) lParam
{
NSLog(@"MSg:%d wParam:%u lParam:%u",Msg,wParam,lParam);
//not working
return 1;
}
警告: Format specifies type 'unsigned int' but the argument has type 'unsigned int *'