summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-05 06:02:39 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-05 06:02:39 +0000
commiteedd229519169dee4733be16f9e842fc29ae7110 (patch)
tree1f6e77b4c1f40f457742cced9dcc5801c9d1b468 /src/map/mob.c
parent0fc7a56a962e4b337d6aa639b5447450b760c045 (diff)
downloadhercules-eedd229519169dee4733be16f9e842fc29ae7110.tar.gz
hercules-eedd229519169dee4733be16f9e842fc29ae7110.tar.bz2
hercules-eedd229519169dee4733be16f9e842fc29ae7110.tar.xz
hercules-eedd229519169dee4733be16f9e842fc29ae7110.zip
more compile errors
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1040 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index b8eac5d67..1068b515a 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -288,7 +288,7 @@ int mob_spawn_guardian(struct map_session_data *sd,char *mapname,
for(count=0;count<amount;count++){
struct guild_castle *gc;
- md=aCalloc(sizeof(struct mob_data), 1);
+ md=(struct mob_data *) aCalloc(sizeof(struct mob_data), 1);
if(md==NULL){
printf("mob_spawn_guardian: out of memory !\n");
exit(1);
@@ -1868,7 +1868,7 @@ static int mob_ai_hard(int tid,unsigned int tick,int id,int data)
*/
static int mob_ai_sub_lazy(void * key,void * data,va_list app)
{
- struct mob_data *md=data;
+ struct mob_data *md=(struct mob_data *)data;
unsigned int tick;
va_list ap;
@@ -2693,7 +2693,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
struct map_session_data *tmpsd;
int i;
for(i=0;i<fd_max;i++){
- if(session[i] && (tmpsd=session[i]->session_data) && tmpsd->state.auth) {
+ if(session[i] && (tmpsd= (struct map_session_data *) session[i]->session_data) && tmpsd->state.auth) {
if(md->bl.m == tmpsd->bl.m) {
sd = tmpsd;
break;