summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-30 22:59:02 -0300
committershennetsind <ind@henn.et>2013-05-30 22:59:02 -0300
commit401136e19ea7986acd9a57c54e0a6fa4594186c9 (patch)
tree030e469a9ca7507bb4983d6fc422f5caf34ea978 /src/map/instance.c
parentf6bca33e1524354a28223f14e45d4765fcb06c92 (diff)
downloadhercules-401136e19ea7986acd9a57c54e0a6fa4594186c9.tar.gz
hercules-401136e19ea7986acd9a57c54e0a6fa4594186c9.tar.bz2
hercules-401136e19ea7986acd9a57c54e0a6fa4594186c9.tar.xz
hercules-401136e19ea7986acd9a57c54e0a6fa4594186c9.zip
Follow up 20bdc01fa687b174a732be4483ddea4982d67ce9
Fixed warnings pinpointed by mkbu95 (THANKS) Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/instance.c')
-rw-r--r--src/map/instance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/instance.c b/src/map/instance.c
index 7b3e2e800..637e768c9 100644
--- a/src/map/instance.c
+++ b/src/map/instance.c
@@ -491,7 +491,7 @@ void instance_check_idle(int instance_id) {
*--------------------------------------*/
void instance_set_timeout(int instance_id, unsigned int progress_timeout, unsigned int idle_timeout)
{
- unsigned int now = time(0);
+ unsigned int now = (unsigned int)time(0);
if( !instance->valid(instance_id) )
return;