summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_assocmgr.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /plugins/ExternalAPI/m_assocmgr.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/ExternalAPI/m_assocmgr.h')
-rw-r--r--plugins/ExternalAPI/m_assocmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExternalAPI/m_assocmgr.h b/plugins/ExternalAPI/m_assocmgr.h
index 64331c368b..eabe570455 100644
--- a/plugins/ExternalAPI/m_assocmgr.h
+++ b/plugins/ExternalAPI/m_assocmgr.h
@@ -258,7 +258,7 @@ static __inline char *Netlib_UrlDecode(char *str)
if (!psz[1] || !psz[2]) break;
MoveMemory(psz,&psz[1],2);
psz[2]=0;
- *psz=(char)strtol(psz,NULL,16);
+ *psz=(char)strtol(psz, nullptr,16);
MoveMemory(&psz[1],&psz[3],mir_strlen(&psz[3])+1);
break;
}