aboutsummaryrefslogtreecommitdiffstats
path: root/capture_stop_conditions.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-03-21 23:14:23 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-03-21 23:14:23 +0000
commit45c8c7a843f1556ea53328378c4cdb27875b99b4 (patch)
tree5b79f14e07fc4b271532d76c6a6a4b74daeb469e /capture_stop_conditions.c
parentd877cbc3949ac7754e30d4c7af6b8cc3e9fd0421 (diff)
fix MSVC warnings of / and set CFLAGS to block new warnings
svn path=/trunk/; revision=21098
Diffstat (limited to 'capture_stop_conditions.c')
-rw-r--r--capture_stop_conditions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_stop_conditions.c b/capture_stop_conditions.c
index 59e44f5d23..02a5aa5251 100644
--- a/capture_stop_conditions.c
+++ b/capture_stop_conditions.c
@@ -119,7 +119,7 @@ static gboolean _cnd_eval_timeout(condition* cnd, va_list ap _U_){
gint32 elapsed_time;
/* check timeout here */
if(data->timeout_s == 0) return FALSE; /* 0 == infinite */
- elapsed_time = time(NULL) - data->start_time;
+ elapsed_time = (gint32) (time(NULL) - data->start_time);
if(elapsed_time > data->timeout_s) return TRUE;
return FALSE;
} /* END _cnd_eval_timeout()*/