From 7d9be803ec4b90ff468365d6f843da9da74ac6e2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jul 2016 17:08:35 +0300 Subject: Fix compilation warning after server update. --- src/emap/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emap/pc.c') diff --git a/src/emap/pc.c b/src/emap/pc.c index 1a7ff22..898ea28 100644 --- a/src/emap/pc.c +++ b/src/emap/pc.c @@ -33,12 +33,12 @@ int langScriptId; int mountScriptId; -int epc_readparam_pre(TBL_PC **sdPtr, +int epc_readparam_pre(const TBL_PC **sdPtr, int *type) { if (*type == Const_ClientVersion) { - struct SessionExt *data = session_get_bysd(*sdPtr); + struct SessionExt *data = session_get_bysd((TBL_PC*)(*sdPtr)); hookStop(); if (!data) return 0; -- cgit v1.2.3-60-g2f50