diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2017-01-22 18:37:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-22 18:37:32 +0300 |
commit | 98349a1b332f22337ff8b02e68e344db15b4f6e1 (patch) | |
tree | d2e12b3f6ff3436a4b976b3e3e72273d7669e828 /plugins/bf1942 | |
parent | 12b9c9b9845058f0f6caf7ac603b1d82d67c41cb (diff) | |
parent | 6096b74a1c42cfeaca9cde5df76a21fc3174f167 (diff) |
Merge PR #2755: plugins: Fix visibility, warnings and errors when compiled with MinGW
Diffstat (limited to 'plugins/bf1942')
-rw-r--r-- | plugins/bf1942/bf1942.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bf1942/bf1942.cpp b/plugins/bf1942/bf1942.cpp index 7b301e8c7..db43e033e 100644 --- a/plugins/bf1942/bf1942.cpp +++ b/plugins/bf1942/bf1942.cpp @@ -51,7 +51,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa } static int trylock(const std::multimap<std::wstring, unsigned long long int> &pids) { - faceptr = topptr = NULL; + faceptr = topptr = 0; if (! initialize(pids, L"BF1942.exe")) return false; |