compiling char_resist.cpp
char_item.cpp:1022:37: error: cannot initialize a parameter of type 'BYTE' (aka 'unsigned char') with an lvalue of type 'LPITEM' (aka 'CItem *')
cell = GetEmptySkillBookInventory(item);
^~~~
./char.h:1271:42: note: passing argument to parameter 'size' here
int GetEmptySkillBookInventory(BYTE size) const;
^
char_item.cpp:1024:40: error: cannot initialize a parameter of type 'BYTE' (aka 'unsigned char') with an lvalue of type 'LPITEM' (aka 'CItem *')
cell = GetEmptyUpgradeItemsInventory(item);
^~~~
./char.h:1272:45: note: passing argument to parameter 'size' here
int GetEmptyUpgradeItemsInventory(BYTE size) const;
^
char_item.cpp:1026:33: error: cannot initialize a parameter of type 'BYTE' (aka 'unsigned char') with an lvalue of type 'LPITEM' (aka 'CItem *')
cell = GetEmptyStoneInventory(item);
^~~~
./char.h:1273:38: note: passing argument to parameter 'size' here
int GetEmptyStoneInventory(BYTE size) const;
^
char_item.cpp:1028:31: error: cannot initialize a parameter of type 'BYTE' (aka 'unsigned char') with an lvalue of type 'LPITEM' (aka 'CItem *')
cell = GetEmptyBoxInventory(item);
^~~~
./char.h:1274:36: note: passing argument to parameter 'size' here
int GetEmptyBoxInventory(BYTE size) const;
^
char_item.cpp:1030:33: error: cannot initialize a parameter of type 'BYTE' (aka 'unsigned char') with an lvalue of type 'LPITEM' (aka 'CItem *')
cell = GetEmptyEfsunInventory(item);
^~~~
./char.h:1275:38: note: passing argument to parameter 'size' here
int GetEmptyEfsunInventory(BYTE size) const;
^
char_item.cpp:1032:33: error: cannot initialize a parameter of type 'BYTE' (aka 'unsigned char') with an lvalue of type 'LPITEM' (aka 'CItem *')
cell = GetEmptyCicekInventory(item);
^~~~
./char.h:1276:38: note: passing argument to parameter 'size' here
int GetEmptyCicekInventory(BYTE size) const;
^
6 errors generated.
gmake[1]: *** [Makefile:180: .obj/char_item.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/home/gdb_server_source/Srcs/Server/game/src'
gmake: *** [Makefile:116: all] Error 2