diff --git a/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m b/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m index 729f5b8..ca2d8fa 100755 --- a/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m +++ b/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m @@ -63,7 +63,8 @@ } else if ([modelInArray isKindOfClass:[NIMTimestampModel class]]) { - cellHeight = [modelInArray height]; + NIMTimestampModel *model = (NIMTimestampModel *)modelInArray; + cellHeight = [model height]; } else { diff --git a/Ifish/controllers/IfishYooseeFile/IfishYooseeHelper/IfishYooseeP2PCore/ShakeManager.m b/Ifish/controllers/IfishYooseeFile/IfishYooseeHelper/IfishYooseeP2PCore/ShakeManager.m index dbf4ea4..bc08526 100644 --- a/Ifish/controllers/IfishYooseeFile/IfishYooseeHelper/IfishYooseeP2PCore/ShakeManager.m +++ b/Ifish/controllers/IfishYooseeFile/IfishYooseeHelper/IfishYooseeP2PCore/ShakeManager.m @@ -22,6 +22,7 @@ #include #include #include +#include @implementation ShakeManager