diff options
author | csnv <ctt@csnv.es> | 2015-04-10 20:33:00 +0200 |
---|---|---|
committer | csnv <ctt@csnv.es> | 2015-04-10 20:33:00 +0200 |
commit | 41ab668531c9e67b0551592009f2fb44da04a313 (patch) | |
tree | 402047911ea7d1f144cc00175af3c744c00c7199 /src/char/int_auction.c | |
parent | da391caae9d51086ee6b817dbc98459c7fa5fc79 (diff) | |
download | hercules-41ab668531c9e67b0551592009f2fb44da04a313.tar.gz hercules-41ab668531c9e67b0551592009f2fb44da04a313.tar.bz2 hercules-41ab668531c9e67b0551592009f2fb44da04a313.tar.xz hercules-41ab668531c9e67b0551592009f2fb44da04a313.zip |
Fixed some compiling errors under MSVC
Introduced on: dab1fba3a88b9c5e86a778a29bd4d565fc937155
Diffstat (limited to 'src/char/int_auction.c')
-rw-r--r-- | src/char/int_auction.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char/int_auction.c b/src/char/int_auction.c index 2c54db16b..f2ec347cd 100644 --- a/src/char/int_auction.c +++ b/src/char/int_auction.c @@ -161,8 +161,10 @@ static int inter_auction_end_timer(int tid, int64 tick, int id, intptr_t data) { void inter_auction_delete(struct auction_data *auction) { + unsigned int auction_id; nullpo_retv(auction); - unsigned int auction_id = auction->auction_id; + + auction_id = auction->auction_id; if( SQL_ERROR == SQL->Query(inter->sql_handle, "DELETE FROM `%s` WHERE `auction_id` = '%d'", auction_db, auction_id) ) Sql_ShowDebug(inter->sql_handle); |