diff options
author | shennetsind <ind@henn.et> | 2013-05-30 22:59:02 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-30 22:59:02 -0300 |
commit | 401136e19ea7986acd9a57c54e0a6fa4594186c9 (patch) | |
tree | 030e469a9ca7507bb4983d6fc422f5caf34ea978 /src/map/instance.c | |
parent | f6bca33e1524354a28223f14e45d4765fcb06c92 (diff) | |
download | hercules-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.c | 2 |
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; |