From c16b3cacc90a42a1710cdffdc0fb438c1c2ff5d9 Mon Sep 17 00:00:00 2001 From: ulfl Date: Wed, 21 Mar 2007 23:14:23 +0000 Subject: fix MSVC warnings of / and set CFLAGS to block new warnings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21098 f5534014-38df-0310-8fa8-9805f1628bb7 --- capture_stop_conditions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capture_stop_conditions.c') 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()*/ -- cgit v1.2.3