diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-29 16:46:19 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-29 16:46:19 +0000 |
commit | ec35f4b8bce178430219c484566a8dceea015221 (patch) | |
tree | 8ce50b81edebc57c308a00bccecbe066aa0fdcb0 /src/map/mail.c | |
parent | 51079611e59264b02fdbb4beb0d3675cc64618e6 (diff) | |
download | hercules-ec35f4b8bce178430219c484566a8dceea015221.tar.gz hercules-ec35f4b8bce178430219c484566a8dceea015221.tar.bz2 hercules-ec35f4b8bce178430219c484566a8dceea015221.tar.xz hercules-ec35f4b8bce178430219c484566a8dceea015221.zip |
More C/C++ Conformance fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1334 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mail.c')
-rw-r--r-- | src/map/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mail.c b/src/map/mail.c index 91fed5f39..c7939cca1 100644 --- a/src/map/mail.c +++ b/src/map/mail.c @@ -305,7 +305,7 @@ int mail_check_timer(int tid,unsigned int tick,int id,int data) while ((mail_row = mysql_fetch_row(mail_res))) { for (i = 0; i < fd_max; i++) { - if (session[i] && (sd = session[i]->session_data) && sd->state.auth){ + if (session[i] && (sd = (struct map_session_data *) session[i]->session_data) && sd->state.auth){ if(pc_isGM(sd) < 80 && sd->mail_counter > 0) sd->mail_counter--; if(sd->status.account_id==atoi(mail_row[0])) |