2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-07 01:45:39 +00:00

half warnings fixed, half disabled for mac build, custom openssl build used, fixed notify activate, bold fonts etc

This commit is contained in:
John Preston
2014-06-16 13:31:10 +04:00
parent 7d9d5aa81a
commit 196b412d1f
58 changed files with 568 additions and 302 deletions

View File

@@ -34,9 +34,8 @@ namespace {
class _TypeSizeCheckerHelper {
public:
_TypeSizeCheckerHelper() {
#ifndef Q_OS_MAC
_BadTypeSize<T> field;
#endif
int _BadTypeSize[N ? -1 : 1];
(void)sizeof(_BadTypeSize);
}
};
@@ -398,11 +397,11 @@ namespace {
}
inline uint32 _md5_F(uint32 x, uint32 y, uint32 z) {
return x & y | ~x & z;
return (x & y) | (~x & z);
}
inline uint32 _md5_G(uint32 x, uint32 y, uint32 z) {
return x & z | y & ~z;
return (x & z) | (y & ~z);
}
inline uint32 _md5_H(uint32 x, uint32 y, uint32 z) {