summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags/src/ip2country.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-04-25 21:55:01 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-04-25 21:55:01 +0000
commitd77cfd0576c0818284c9cf10eedb8185339323d1 (patch)
treef9cdef8463f003406b7526b511dfab02c0cc553a /plugins/CountryFlags/src/ip2country.cpp
parent14b4c0ec4a43189f97078673b387a5c448156b74 (diff)
CoutryFlags - common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags/src/ip2country.cpp')
-rw-r--r--plugins/CountryFlags/src/ip2country.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CountryFlags/src/ip2country.cpp b/plugins/CountryFlags/src/ip2country.cpp
index dad6b0b1d8..e233fbbf17 100644
--- a/plugins/CountryFlags/src/ip2country.cpp
+++ b/plugins/CountryFlags/src/ip2country.cpp
@@ -17,7 +17,7 @@ along with this program (Flags-License.txt); if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "flags.h"
+#include "stdafx.h"
extern HINSTANCE hInst;
extern int nCountriesCount;
@@ -58,7 +58,7 @@ static BYTE *dataRecords; /* protected by csRecordCache */
#define UNLOADDELAY 30*1000 /* time after which the data records are being unloaded */
-static void CALLBACK UnloadRecordCache(LPARAM lParam)
+static void CALLBACK UnloadRecordCache(LPARAM)
{
EnterCriticalSection(&csRecordCache);
mir_free(dataRecords);
@@ -97,7 +97,7 @@ static void LeaveRecordCache(void)
/************************* Services *******************************/
-INT_PTR ServiceIpToCountry(WPARAM wParam,LPARAM lParam)
+INT_PTR ServiceIpToCountry(WPARAM wParam, LPARAM)
{
BYTE *data;
DWORD dwFrom,dwTo;