From 1c0172cca4f1e90679321912e20436a7f42f122d Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 15:32:06 +0100 Subject: more nullptr --- protocols/MSN/src/stdafx.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/MSN/src/stdafx.h') diff --git a/protocols/MSN/src/stdafx.h b/protocols/MSN/src/stdafx.h index 13aa98cb49..df61064891 100644 --- a/protocols/MSN/src/stdafx.h +++ b/protocols/MSN/src/stdafx.h @@ -214,7 +214,7 @@ char* GetGlobalIp(void); template void UrlDecode(chartype* str); -char* MSN_GetAvatarHash(char* szContext, char** pszUrl = NULL); +char* MSN_GetAvatarHash(char* szContext, char** pszUrl = nullptr); bool MSN_MsgWndExist(MCONTACT hContact); #define MSN_SendNickname(a) MSN_SendNicknameUtf(UTF8(a)) @@ -238,7 +238,7 @@ time_t MsnTSToUnixtime(const char *pszTS); wchar_t* EscapeChatTags(const wchar_t* pszText); -void overrideStr(wchar_t*& dest, const wchar_t* src, bool unicode, const wchar_t* def = NULL); +void overrideStr(wchar_t*& dest, const wchar_t* src, bool unicode, const wchar_t* def = nullptr); char* arrayToHex(BYTE* data, size_t datasz); @@ -692,7 +692,7 @@ public: bool Load(); void Save(); virtual bool Refresh(bool = false) { return false; } - bool Expired(time_t t = time(NULL)); + bool Expired(time_t t = time(nullptr)); void Clear(); const char *Token(); __forceinline operator char*() const { return m_pszToken; } @@ -767,7 +767,7 @@ struct MsnContact OBJLIST places; - MsnContact() : email(0), invite(0), nick(0), + MsnContact() : email(nullptr), invite(nullptr), nick(nullptr), hContact(0), list(0), netId(0), p2pMsgId(0), cap1(0), cap2(0), places(1, CompareId) { } -- cgit v1.2.3