阅读:1334回复:2
求助。。。源码编译出错- -
这一句 g_CashShop.UpdateUserCash(pUser->m_idPlayer,nowcash);
飞飞源码项目\WORLDSERVER\DPSrvr.cpp(851): error C2664: “CCashShop::UpdateUserCash” : 不能将参数 1 从“u_long”转换为“CUser *” 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换 还有这句 int nowcash = g_CashShop.GetUserCash(pUser->m_idPlayer); 飞飞源码项目\WORLDSERVER\DPSrvr.cpp(793): error C2664: “CCashShop::GetUserCash” : 不能将参数 1 从“u_long”转换为“CUser *” 求大神帮忙解答下、、 |
|
100% |
沙发#
发布于:2014-11-20 10:31
用户被禁言,该主题自动屏蔽! |
|
板凳#
发布于:2014-11-20 23:06
pUser->m_idPlayer 换成 pUser不就结了。
|
|