diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-21 23:14:23 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-21 23:14:23 +0000 |
commit | c16b3cacc90a42a1710cdffdc0fb438c1c2ff5d9 (patch) | |
tree | 5b79f14e07fc4b271532d76c6a6a4b74daeb469e /capture_stop_conditions.c | |
parent | 5c239e93946f2374ec77937df7092e4634c128e8 (diff) |
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
Diffstat (limited to 'capture_stop_conditions.c')
-rw-r--r-- | capture_stop_conditions.c | 2 |
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()*/ |