summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/l2fwd-keepalive/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c
index 8d7b09e..f4d52f2 100644
--- a/examples/l2fwd-keepalive/main.c
+++ b/examples/l2fwd-keepalive/main.c
@@ -471,7 +471,7 @@ l2fwd_parse_args(int argc, char **argv)
/* timer period */
case 'T':
timer_period = l2fwd_parse_timer_period(optarg)
- * 1000 * TIMER_MILLISECOND;
+ * (int64_t)(1000 * TIMER_MILLISECOND);
if (timer_period < 0) {
printf("invalid timer period\n");
l2fwd_usage(prgname);