summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
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;