次のコード スニペットがあります。
NSUInteger cmdWarning = [(NSNumber*)responseObject[kCmdResponseWarning] unsignedIntegerValue];
//this time cmdWarning has value 4294967196
switch (cmdWarning) {
//I defined #define kCmdWarningSSLException -100
case kCmdWarningSSLException:
NSLog(@"error!");
break;
default:
break;
}
出力:エラー!
私の予想される結果は次のとおりです。印刷されません
なぜこれが起こるのですか?この問題を解決するにはどうすればよいですか? 私はあなたの支援に感謝します。前もって感謝します。